- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 2,899 for test$ (0.48 sec)
-
src/test/java/jcifs/internal/dfs/ReferralTest.java
referral = new Referral(); testBuffer = new byte[512]; } // Version 3 Referral Tests @Test public void testDecodeVersion3WithoutNameList() { // Prepare test data ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); // Header bb.putShort((short) 3); // version bb.putShort((short) 100); // size (large enough for all strings)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
} @Test @DisplayName("Test getResults returns null initially") void testGetResultsInitiallyNull() { response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03); assertNull(response.getResults()); } @Test @DisplayName("Test getResults returns decoded file entries")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
} @Test @DisplayName("Test getAttributes returns 0") void testGetAttributes() { assertEquals(0, fileStandardInfo.getAttributes()); } @Test @DisplayName("Test getCreateTime returns 0") void testGetCreateTime() { assertEquals(0L, fileStandardInfo.getCreateTime()); } @Test @DisplayName("Test getLastWriteTime returns 0")
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/internal/smb2/ioctl/SrvPipePeekResponseTest.java
void setUp() { response = new SrvPipePeekResponse(); } @Test @DisplayName("Test successful decode with data") void testDecodeWithData() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[24]; // 16 bytes header + 8 bytes data int bufferIndex = 0; // Set up test values int namedPipeState = 0x03; // NP_NOWAIT | NP_READMODE_MESSAGE
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 29.3K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
@Test void testGetBufferCache() { // Test getBufferCache() method BufferCache mockBufferCache = mock(BufferCache.class); when(mockDelegate.getBufferCache()).thenReturn(mockBufferCache); assertEquals(mockBufferCache, cifsContextWrapper.getBufferCache()); verify(mockDelegate).getBufferCache(); } @Test void testGetTransportPool() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
import jcifs.CIFSException; import jcifs.SmbSession; /** * Tests for SmbTreeHandleInternal interface using Mockito to verify * interactions and observable behavior of collaborators. */ @ExtendWith(MockitoExtension.class) public class SmbTreeHandleInternalTest { @Mock private SmbTreeHandleInternal handle; @Test @DisplayName("release(): verifies it is invoked exactly once")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
} @Nested @DisplayName("Interface Implementation Tests") class InterfaceImplementationTests { @Test @DisplayName("Should implement AllocInfo interface") void shouldImplementAllocInfo() { assertTrue(AllocInfo.class.isAssignableFrom(FileFsSizeInformation.class)); } @Test @DisplayName("Should implement FileSystemInformation interface")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
} /** * Test a successful NTLM authentication handshake. * This is a simplified test that verifies the basic flow without full NTLM protocol simulation. * @throws IOException * @throws SecurityException */ @Test void testSuccessfulHandshake() throws IOException, SecurityException { // This test is simplified to verify basic handshake behavior
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
} @Test @DisplayName("Test setFlags method") void testSetFlags() { setupMockConfig(); Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE); request.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL); assertNotNull(request); } @Test @DisplayName("Test setMaxInputResponse method")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0)