- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for test_path (1.66 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Given - Path with various characters String testPath = "\\\\server\\test123"; Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, testPath); byte[] buffer = new byte[512]; // When req.encode(buffer, 0); // Then - Verify UTF-16LE encoding byte[] expectedBytes = testPath.getBytes(StandardCharsets.UTF_16LE);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K 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) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
@Mock private Configuration mockConfig; private static final int TEST_FID = 0x1234; private static final byte[] TEST_DATA = "Test pipe data".getBytes(StandardCharsets.UTF_8); private static final int TEST_OFFSET = 0; private static final int TEST_LENGTH = TEST_DATA.length; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/test_pass.pdf
Shinsuke Sugaya <******@****.***> 1444529815 +0900
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
byte[] dst = new byte[100]; // When int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0); // Then assertEquals(TEST_DATA.length, bytesWritten); byte[] writtenData = Arrays.copyOfRange(dst, 0, TEST_DATA.length); assertArrayEquals(TEST_DATA, writtenData); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
// Need to include space for actual string data int stringDataStart = 28; // After the referral structure String testPath = "\\server\\share"; byte[] pathBytes = testPath.getBytes(java.nio.charset.StandardCharsets.UTF_16LE); int bufferSize = stringDataStart + pathBytes.length + 2; // +2 for null terminator byte[] buffer = new byte[bufferSize];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
SecretKeySpec key = new SecretKeySpec(new byte[16], "ARCFOUR"); byte[] mac = PacMac.calculateMacArcfourHMACMD5(3, key, TEST_DATA); assertNotNull(mac); assertEquals(16, mac.length); // Test with a different key usage byte[] mac2 = PacMac.calculateMacArcfourHMACMD5(9, key, TEST_DATA); assertNotNull(mac2); assertEquals(16, mac2.length); // Test with another key usage
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java
} public void test_getText_pass() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_pass.pdf"); final Map<String, String> params = new HashMap<String, String>(); params.put(ExtractData.URL, "http://example.com/test_pass.pdf"); final String content = pdfExtractorForPdfPassword.getText(in, params).getContent(); CloseableUtil.closeQuietly(in);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 7.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java
.singleton("sitemapsRule", SitemapsRule.class); sitemapsRule = container.getComponent("sitemapsRule"); } public void test_match() { assertMatchTrue(getTestData1_OK()); assertMatchTrue(getTestData2_OK()); assertMatchTrue(getTestData3_OK()); assertMatchTrue(getTestData4_OK());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
} @Test void testToStringWithDifferentPaths() { // Test with various path formats String[] testPaths = { "simple.txt", "path/to/file.doc", "//server/share/file.txt", "folder\\windows\\style.txt", "" // empty path }; for (String path : testPaths) { trans2QueryPathInfo = new Trans2QueryPathInformation(config, path, TEST_INFO_LEVEL);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0)