Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expandPath (0.07 sec)

  1. 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)
  2. 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)
Back to top