- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 874 for Verify (1.53 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
// Verify the bytes written assertTrue(bytesWritten > 0); // Verify max setup count is written at position 0 assertEquals(2, dst[0]); // Verify reserved bytes assertEquals(0, dst[1]); assertEquals(0, dst[2]); // Verify total parameter count (4 bytes at position 3)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
mockResource.setLastAccess(testTime); }, "Setting individual times should not throw exception"); verify(mockResource).setCreateTime(testTime); verify(mockResource).setLastModified(testTime); verify(mockResource).setLastAccess(testTime); } } @Nested @DisplayName("File Operations Tests") class FileOperationsTests {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
handle.release(); // Assert: verify they happened in order InOrder inOrder = inOrder(handle); inOrder.verify(handle).ensureDFSResolved(); inOrder.verify(handle).hasCapability(7); inOrder.verify(handle).release(); inOrder.verifyNoMoreInteractions(); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
// Then assertNotNull(retrievedTransport); assertFalse(hasActiveTransports); verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, false); verify(transportPool).removeTransport(transport); verify(transportPool).close(); } @Test @DisplayName("Should handle authentication workflow")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
verify(mockReferralData, atLeastOnce()).getPath(); verify(mockReferralData, atLeastOnce()).next(); verify(mockReferralData, atLeastOnce()).getKey(); verify(mockReferralData, atLeastOnce()).isResolveHashes(); verify(mockReferralData, atLeastOnce()).isIntermediate(); verify(mockReferralData, atLeastOnce()).combine(any());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
assertFalse(negotiationResponse.haveCapabilitiy(cap2)); assertTrue(negotiationResponse.haveCapabilitiy(cap3)); verify(negotiationResponse).haveCapabilitiy(cap1); verify(negotiationResponse).haveCapabilitiy(cap2); verify(negotiationResponse).haveCapabilitiy(cap3); } @Test @DisplayName("Test getSendBufferSize returns standard size")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
// Verify structure size (32) assertEquals(32, SMBUtil.readInt2(buffer, offset)); // Verify notify flags assertEquals(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE, SMBUtil.readInt2(buffer, offset + 2)); // Verify output buffer length assertEquals(8192, SMBUtil.readInt4(buffer, offset + 4)); // Verify file ID byte[] readFileId = new byte[16];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java
// Verify that the wrap method was called exactly once verify(dcerpcSecurityProvider, times(1)).wrap(mockNdrBuffer); } @Test void testUnwrapMethodIsCalled() throws DcerpcException { // Test that the unwrap method can be called without throwing an exception dcerpcSecurityProvider.unwrap(mockNdrBuffer);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
@Nested @DisplayName("Interaction – verify that file methods are invoked") class Interaction { @Test void verifiesPathInvocation() throws Exception { SmbFile mockFile = mock(SmbFile.class); when(mockFile.getPath()).thenReturn("/share/dir/"); RecordingFilter filter = new RecordingFilter(); filter.accept(mockFile); // Verify the filter stored the referenceRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
// Verify input buffer offset (should be 0 when no input buffer) assertEquals(0, SMBUtil.readInt2(buffer, 72)); // Verify input buffer length (should be 0 when no input buffer) assertEquals(0, SMBUtil.readInt4(buffer, 76)); // Verify additional information assertEquals(0x12345678, SMBUtil.readInt4(buffer, 80)); // Verify query flagsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0)