- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 882 for verifyCn (0.05 sec)
-
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
byte[] buffer = new byte[100]; assertTrue(testBlock.verifySignature(buffer, 0, 100)); verify(mockDigest, never()).verify(any(), anyInt(), anyInt(), anyInt(), any()); } @Test @DisplayName("Test verify signature success") void testVerifySignatureSuccess() { testBlock.setDigest(mockDigest); testBlock.setErrorCode(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Verify bytes written (encode returns 40, which includes 4 padding bytes) assertEquals(40, bytesWritten); // Create a new FileBasicInfo and decode to verify encoding FileBasicInfo decoded = new FileBasicInfo(); decoded.decode(buffer, startIndex, 36); // decode only reads 36 bytes // Verify the values match after round-trip
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
// Execute final InvalidQueryException exception = new InvalidQueryException(messageCode, message, cause); // Verify assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertEquals(messageCode, exception.getMessageCode()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
// Verify structure size assertEquals(33, buffer[Smb2Constants.SMB2_HEADER_LENGTH] | (buffer[Smb2Constants.SMB2_HEADER_LENGTH + 1] << 8)); // Verify file information class assertEquals(Smb2QueryDirectoryRequest.FILE_ID_FULL_DIRECTORY_INFO, buffer[Smb2Constants.SMB2_HEADER_LENGTH + 2]); // Verify query flags
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
// Unregister client.unregister(registration).get(5, TimeUnit.SECONDS); assertEquals(0, client.getActiveRegistrationCount()); verify(mockRpc).register(any(WitnessRegisterRequest.class)); verify(mockRpc).unregister(any(WitnessUnregisterRequest.class)); client.close(); } @Test void testGetWitnessServer() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
handler.handle(WinError.WINERR_CODES[i], WinError.WINERR_MESSAGES[i]); } // Verify the collaborator is invoked exactly N times verify(handler, times(WinError.WINERR_CODES.length)).handle(anyInt(), anyString()); // Capture one known interaction to verify argument integrity ArgumentCaptor<Integer> codeCap = ArgumentCaptor.forClass(Integer.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
mockedNtlmAuthenticator.verify(NtlmAuthenticator::getDefault); mockedNtlmAuthenticator.verify( () -> NtlmAuthenticator.requestNtlmPasswordAuthentication(eq(mockNtlmAuthenticator), eq("locationHint"), eq(null))); verify(mockRenewableCredentials, never()).renew(); // Ensure renewable path was not taken } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
// Execute final SsoMessageException exception = new SsoMessageException(messageCode, message, cause); // Verify assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertEquals(messageCode, exception.getMessageCode()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
} @Test void constructor_shouldInitializeFields() throws Exception { // Verify configuration is set Field configField = NameServicePacket.class.getDeclaredField("config"); configField.setAccessible(true); assertSame(mockConfig, configField.get(response)); // Verify queryAddress is set Field queryAddressField = NodeStatusResponse.class.getDeclaredField("queryAddress");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
short maxLength = 20; int pointer = 100; PacUnicodeString pacString = new PacUnicodeString(length, maxLength, pointer); // Verify that the object was created assertNotNull(pacString, "The PacUnicodeString object should not be null."); // Verify that the getters return the correct values assertEquals(length, pacString.getLength(), "The length should match the value provided in the constructor.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0)