- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 42 for testPath (0.04 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
} @Test void testConstructor() { assertNotNull(response); // Verify that the outputBuffer is stored properly byte[] testData = new byte[] { 1, 2, 3, 4, 5 }; TransCallNamedPipeResponse testResponse = new TransCallNamedPipeResponse(mockConfig, testData); assertNotNull(testResponse); } @Test void testWriteSetupWireFormat() { byte[] dst = new byte[100];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
when(session.getAttribute("npa-workgroup")).thenReturn(auth); // Test various path formats String[] testPaths = { "/", "/workgroup/", "/workgroup/server/", "/workgroup/server/share/", "/workgroup/server/share/file.txt" }; for (String path : testPaths) { when(request.getPathInfo()).thenReturn(path); assertDoesNotThrow(() -> networkExplorer.doGet(request, response));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
private static final byte[] LONG_TEST_KEY = new byte[80]; // Longer than 64 bytes private static final byte[] SHORT_TEST_KEY = "short".getBytes(); private static final byte[] TEST_DATA = "testdata".getBytes(); private static final byte[] EMPTY_DATA = new byte[0]; static { // Initialize long key with predictable data Arrays.fill(LONG_TEST_KEY, (byte) 0xAB); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
mockNotifications.add(fileNotifyInfo2); mockNotifications.add(fileNotifyInfo3); } /** * Test watch() method returning notifications */ @Test void testWatch() throws CIFSException { // Setup mock behavior when(watchHandle.watch()).thenReturn(mockNotifications); // Execute List<FileNotifyInformation> result = watchHandle.watch();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (1) -
src/test/java/jcifs/util/HMACT64Test.java
private static final byte[] LONG_TEST_KEY = "thisisalongtestkeythatislongerthan64bytesandshouldbetruncated".getBytes(); private static final byte[] SHORT_TEST_KEY = "short".getBytes(); private static final byte[] TEST_DATA = "testdata".getBytes(); private static final byte[] EMPTY_DATA = new byte[0]; @Mock private MessageDigest mockMd5; @BeforeEach void setUp() throws NoSuchAlgorithmException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
// Clean up Arrays.fill(plaintext, '\0'); } @Test public void testDecryptWithWrongSalt() throws Exception { char[] plaintext = "TestData".toCharArray(); // Encrypt with first storage byte[] encrypted = storage.encryptCredentials(plaintext); // Create new storage with different saltRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
Files.readLines(temp, UTF_8, collectNonEmptyLines); assertThat(collectNonEmptyLines.getResult()).containsExactly("hello", " world ").inOrder(); assertTrue(temp.delete()); } public void testHash() throws IOException { File asciiFile = getTestFile("ascii.txt"); File i18nFile = getTestFile("i18n.txt"); String init = "d41d8cd98f00b204e9800998ecf8427e";
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
// The destination path should be relative to the share String destPath = dest.getUncPath(); // Remove leading backslash if present if (destPath.startsWith("\\")) { destPath = destPath.substring(1); } // Open the source file for renamingRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
} @Test void testDfsInfo1_EncodeDecode() throws NdrException { netdfs.DfsInfo1 info1 = new netdfs.DfsInfo1(); info1.entry_path = "test_path"; ByteArrayOutputStream bos = new ByteArrayOutputStream(); // Create buffer for encoding - initially allocate some space byte[] encodeBuffer = new byte[1024];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0)