- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 1,103 for veriyi (0.04 seconds)
-
src/test/java/jcifs/util/transport/MessageTest.java
// Set a new payload and verify byte[] payload1 = "test_payload_1".getBytes(); message.setRawPayload(payload1); assertArrayEquals(payload1, message.getRawPayload(), "getRawPayload should return the set payload"); // Set another payload and verify byte[] payload2 = new byte[] { 1, 2, 3, 4, 5 }; message.setRawPayload(payload2);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
when(mockPrincipal.getName()).thenReturn(expectedUserName); // Act: Call the method under test String actualUserName = ntlmRequest.getRemoteUser(); // Assert: Verify that the returned user name is the expected one assertEquals(expectedUserName, actualUserName, "getRemoteUser should return the principal's name."); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
*/ @Test void testConstructor() { // Verify that the command is set to SMB_COM_NEGOTIATE assertEquals(ServerMessageBlock.SMB_COM_NEGOTIATE, smbComNegotiate.command, "Constructor should set the command to SMB_COM_NEGOTIATE."); // Verify that flags2 is set to the default flagsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
assertEquals(123, newParams.get("key2")); // Verify that modifications to new instance don't affect original newParams.put("key3", "value3"); assertTrue(newParams.containsKey("key3")); assertFalse(dataStoreParams.containsKey("key3")); // Verify that modifications to original don't affect new instance dataStoreParams.put("key4", "value4");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertEquals(24, encoded); // Verify offset (8 bytes) assertEquals(offset, SMBUtil.readInt8(buffer, 0)); // Verify length (8 bytes) assertEquals(length, SMBUtil.readInt8(buffer, 8)); // Verify flags (4 bytes) assertEquals(flags, SMBUtil.readInt4(buffer, 16)); // Verify reserved field is zeros (4 bytes)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
when(mockDigest.verify(buffer, 0, 100, 0, echoResponse)).thenReturn(false); boolean result = echoResponse.verifySignature(buffer, 0, 100); assertTrue(result); assertFalse(echoResponse.isVerifyFailed()); verify(mockDigest).verify(buffer, 0, 100, 0, echoResponse); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
// Resolve first two entries cache.resolveSids(ctx, null, arr, 0, 2); // Verify resolveSids0 called exactly once with the two SIDs needing resolution ArgumentCaptor<SID[]> captor = ArgumentCaptor.forClass(SID[].class); verify(cache, times(1)).resolveSids0(isNull(), same(ctx), captor.capture()); SID[] resolvedFirst = captor.getValue();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0) -
KEYS.md
Once you've downloaded a Gradle JAR file or a distribution and its corresponding signature file (with a `.asc` extension), you can verify its authenticity against the public key. For example, to verify the signature of `plugin-publish-plugin-2.0.0.jar` and its signature file `plugin-publish-plugin-2.0.0.jar.asc`, use this command: ```bash gpg --verify plugin-publish-plugin-2.0.0.jar.asc plugin-publish-plugin-2.0.0.jar ```
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Dec 04 14:29:13 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
String[] returnedInputs = item.getInputs(); // Modifying returned array should not affect original returnedInputs[0] = "modified"; // Get again and verify not modified String[] inputs2 = item.getInputs(); assertEquals("a", inputs2[0]); assertEquals("b", inputs2[1]); assertEquals("c", inputs2[2]); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8K bytes - Click Count (1) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
// Do NOT call setRootLoggerLevel - this is the fix! } // Verify that setRootLoggerLevel was not called assertEquals(0, slf4jConfiguration.setRootLoggerLevelCallCount); // Verify that system property was not set assertNull(System.getProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL)); } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 6.4K bytes - Click Count (0)