- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for test_getPath (0.21 sec)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
} } // Test basic getters public void test_getType() { assertEquals("stopwords", stopwordsFile.getType()); } public void test_getPath() { assertEquals(testFile.getAbsolutePath(), stopwordsFile.getPath()); } public void test_getSimpleName() { assertEquals(testFile.getName(), stopwordsFile.getSimpleName()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
} // Test getType method public void test_getType() { assertEquals("mapping", charMappingFile.getType()); } // Test getPath method public void test_getPath() { assertEquals(testFile.getAbsolutePath(), charMappingFile.getPath()); } // Test getSimpleName method public void test_getSimpleName() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
"test\\\\4\n" + // escaped backslash "test5\n"; } public void test_getType() { assertEquals("protwords", protwordsFile.getType()); } public void test_getPath() { assertEquals(testFile.getAbsolutePath(), protwordsFile.getPath()); } public void test_getSimpleName() { String expected = testFile.getName();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/DfsReferralDataTest.java
// Then assertEquals(pathConsumed, result); verify(mockReferralData).getPathConsumed(); } @Test @DisplayName("Should get path") void testGetPath() { // Given String path = "/test/path"; when(mockReferralData.getPath()).thenReturn(path); // When String result = mockReferralData.getPath(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java
try { binaryTransformer.transform(null); fail(); } catch (final CrawlerSystemException e) { // NOP } } public void test_getData() throws Exception { final AccessResultDataImpl accessResultData = new AccessResultDataImpl(); accessResultData.setTransformerName("binaryTransformer"); accessResultData.setData("xyz".getBytes());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java
try { textTransformer.transform(null); fail(); } catch (final CrawlerSystemException e) { // NOP } } public void test_getData() throws Exception { final AccessResultDataImpl accessResultData = new AccessResultDataImpl(); accessResultData.setTransformerName("textTransformer"); accessResultData.setData("xyz".getBytes());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 4.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java
assertEquals(resultFile, file); FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes()); } public void test_getData() throws Exception { final AccessResultDataImpl accessResultDataImpl = new AccessResultDataImpl(); accessResultDataImpl.setData("hoge.txt".getBytes()); accessResultDataImpl.setEncoding(Constants.UTF_8);
Registered: Sun Sep 21 03:50:09 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/transformer/impl/XpathTransformerTest.java
xpathTransformer.storeData(responseData, resultData); assertEquals(result, new String(resultData.getData(), Constants.UTF_8)); } public void test_getData() throws Exception { final String value = "<?xml version=\"1.0\"?>\n"// + "<doc>\n"// + "<field name=\"title\">タイトル</field>\n"//
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
@BeforeEach void setUp() { testImplementation = new TestRequestWithPath(); } @Test @DisplayName("Test getPath returns correct path") void testGetPath() { // Test with mock String expectedPath = "/share/folder/file.txt"; when(requestWithPath.getPath()).thenReturn(expectedPath); assertEquals(expectedPath, requestWithPath.getPath());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
// For now, we expect the NPE to maintain backward compatibility assertThrows(NullPointerException.class, () -> new SmbFile("smb1://").getParent()); } @Test public void testGetPath() throws MalformedURLException { // Path should be the original, uncanonicalized URL String url = "smb1://server/share/../share/file.txt"; SmbFile smbFile = new SmbFile(url);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0)