- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for expandPath (0.08 sec)
-
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
} public void test_expandPath() { // Test expandPath method generator = new TestThumbnailGenerator(); // Test without mappings assertEquals("path/to/file", generator.expandPath("path/to/file")); assertNull(generator.expandPath(null)); // Test with exact match mappings (expandPath only replaces exact matches)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
assertEquals("test/path", emptyGenerator.expandPath("test/path")); assertNull(emptyGenerator.expandPath(null)); // Test with file path mappings emptyGenerator.filePathMap.put("${path}/test", "/usr/bin/test"); assertEquals("/usr/bin/test", emptyGenerator.expandPath("${path}/test")); assertEquals("other/path", emptyGenerator.expandPath("other/path")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
/** * Expands a file path using the file path mapping. * @param value The original path value. * @return The expanded path or the original value if no mapping exists. */ protected String expandPath(final String value) { if (value != null && filePathMap.containsKey(value)) { return filePathMap.get(value); } return value; } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 13.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
assertTrue("Long commands should be settable", true); } // Test path expansion logic public void test_path_expansion() throws Exception { // Test the expandPath functionality indirectly through variable replacement final String testCommand = "convert ${url} -resize 100x100 ${outputFile}"; final String tempPath = "/tmp/source.pdf";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 16.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Fri Jul 18 14:34:06 UTC 2025 - 14.7K bytes - Viewed (0)