Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for funescape (0.04 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            // Test that MIME type patterns work correctly as regex
            // This verifies the fix for SVG thumbnail generation issue
            // where image/svg+xml was not matching due to unescaped + character
    
            // SVG MIME type - the + must be escaped in regex
            String svgMimetype = "image/svg+xml";
            String svgPatternWrong = "image/svg+xml"; // Wrong: + means "one or more" in regex
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

        }
    
        @Test
        public void test_unescape() {
            GsaConfigParser parser = new GsaConfigParser();
    
            assertEquals("test\\", parser.unescape("test\\\\"));
            assertEquals("test", parser.unescape("test"));
            assertEquals("\\", parser.unescape("\\\\"));
        }
    
        @Test
        public void test_appendFilterPath() {
            GsaConfigParser parser = new GsaConfigParser();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

                // Verify escaped pattern matches
                assertTrue("Escaped pattern should match: " + mimeType, Pattern.compile(escapedPattern).matcher(mimeType).matches());
    
                // Verify unescaped pattern does NOT match
                assertFalse("Unescaped pattern should NOT match: " + mimeType, Pattern.compile(mimeType).matcher(mimeType).matches());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            assertTrue(result.contains("StopwordsFile"));
            assertTrue(result.contains("path=" + testFile.getAbsolutePath()));
            assertTrue(result.contains("id=test_id"));
        }
    
        // Test unescape private method through reload
        @Test
        public void test_unescape_noBackslash() {
            String content = "word1\n";
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
Back to Top