- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 840 for verifyCn (0.04 sec)
-
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// When encryptionContext.secureWipeKeys(); // Then - Verify keys are wiped (we can't directly access private fields, // but we can verify the context behaves correctly after wiping) // After wiping, operations that require keys should fail
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
response = new TransTransactNamedPipeResponse(mockConfig, outputBuffer); } @Test void testConstructor() { // Verify that the response is created with correct configuration and buffer assertNotNull(response); // Use reflection to verify the outputBuffer is set correctly try { Field outputBufferField = TransTransactNamedPipeResponse.class.getDeclaredField("outputBuffer");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
when(locator.handleDFSReferral(referral, reqPath)).thenReturn(resolved); String out = locator.handleDFSReferral(referral, reqPath); assertEquals(resolved, out); // Verify exact argument interaction verify(locator, times(1)).handleDFSReferral(referral, reqPath); verifyNoMoreInteractions(locator); } // Edge / invalid: null referral or empty/blank path @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
failover.handleFailure(failedChannel, error); // Verify pending operations were cleared from failed channel assertEquals(0, failedChannel.getRequestsPending()); // Verify alternative channel was selected and operation added verify(mockLoadBalancer).selectChannel(mockOperation); verify(alternativeChannel).addPendingOperation(mockOperation); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName); // Verify size (14 bytes header + 0 bytes for empty name) assertEquals(14, request.size()); // Test encoding byte[] buffer = new byte[50]; int bytesEncoded = request.encode(buffer, 0); // Verify assertEquals(14, bytesEncoded);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when; import java.util.function.Supplier; import java.util.stream.Stream; import org.junit.jupiter.api.DisplayName;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
// Verify bytes written assertTrue(bytesWritten > 0); assertEquals(19, bytesWritten); // 2 + 13 + 2 + 2 // Verify NET_SHARE_ENUM command (2 bytes) assertEquals(SmbComTransaction.NET_SHARE_ENUM, dst[0]); assertEquals(0, dst[1]); // Verify descriptor (WrLeh\0B13BWz\0 in ASCII - 13 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// Verify that AllocInfo extends FileSystemInformation assertTrue(FileSystemInformation.class.isAssignableFrom(AllocInfo.class)); } @Test @DisplayName("Should implement Decodable interface through FileSystemInformation") void shouldImplementDecodableInterface() { // Verify that AllocInfo indirectly implements Decodable
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
} else { // If delete fails, at least verify copy succeeded log.warn("Could not delete source after copy, but continuing"); deleted = true; // Proceed anyway } } } // Verify results with fresh context CIFSContext checkContext = createFreshContext();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
void testGetRequestRaw() { // Verify getRequestRaw returns the exact same array instance byte[] requestBuffer = negotiation.getRequestRaw(); assertSame(testRequestBuffer, requestBuffer); // Verify multiple calls return the same instance assertSame(requestBuffer, negotiation.getRequestRaw()); // Verify content is correct
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)