- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 150 for getDir (0.28 seconds)
-
src/test/java/jcifs/smb/SecurityBlobTest.java
data[0] = 99; assertFalse(original.equals(copy), "After mutation, original should not equal previous clone"); // Ensure arrays are independent: mutate clone's buffer via getter copy.get()[1] = 77; assertNotEquals(original.toString(), copy.toString(), "Mutating clone should not affect original"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
// Given Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId); // When request.setFileId(testFileId); // Then - verify through internal state (would need getter or reflection in real scenario) // Since we can't directly verify the internal state, we create a new request to test Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy
@Internal protected File getPidFile() { return new File(baseDir, 'pid') } /** Reads the pid file and returns the process' pid */ @Internal int getPid() { return Integer.parseInt(pidFile.getText('UTF-8').trim()) } /** Returns the file the process writes its bound ports to. Defaults to "ports" inside baseDir. */ @InternalCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
assertNotNull(cancelRequest); assertInstanceOf(Smb2CancelRequest.class, cancelRequest); Smb2CancelRequest smb2Cancel = (Smb2CancelRequest) cancelRequest; assertEquals(mid, smb2Cancel.getMid()); assertEquals(asyncId, smb2Cancel.getAsyncId()); } } @Nested @DisplayName("Chain Operation Tests") class ChainOperationTests { @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(tree.isSMB2()).thenReturn(false); when(tree.getConfig()).thenReturn(mock(Configuration.class)); when(tree.hasCapability(SmbConstants.CAP_NT_SMBS)).thenReturn(true); when(handle.getFid()).thenReturn(fid); when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp); } // Ensures watch() fails fast if the underlying handle is invalid @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java
// Data should still be accessible assertEquals("Should still have 1 word", 1, suggester.getAllWordsNum()); } // ============================================================ // Tests for getter methods // ============================================================ @Test public void test_getIndex() throws Exception { Suggester suggester = createSuggester();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 13.4K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
ntlmConnection.disconnect(); // Assert verify(mockConnection).disconnect(); // Connection should be closed after disconnect } /** * Test simple getter methods that should trigger the handshake. * We mock a simple 200 OK response to test the handshake is called. * @throws IOException */ @Test void testGettersTriggerHandshake() throws IOException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
} /** * Returns the message integrity code (MIC) for this Type-3 message. * * @return A <code>byte[]</code> containing the message integrity code. */ public byte[] getMic() { return this.mic; } /** * Sets the message integrity code (MIC) for this Type-3 message. * * @param mic * NTLM mic to set (16 bytes) */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
assertNotNull(trans2SetFileInfo); // Configuration is accessed during initialization // Verify at least that getPid() and getTransactionBufferSize() were called } @DisplayName("Test FileInformation encode returning different sizes") @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 100, 1000 })Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
"Should throw DcerpcException for missing endpoint"); } } @Nested @DisplayName("Getter Method Tests") class GetterTests { @Test @DisplayName("Should return correct transport context") void testGetTransportContext() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0)