Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 67 for mspace (0.03 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

                    return cryptedText.startsWith("encrypted:") ? cryptedText.substring("encrypted:".length()) : cryptedText;
                }
            };
    
            String[] testStrings = { "simple", "with spaces", "special!@#$%^&*()", "unicode_test", "", "very long string " + "x".repeat(100) };
    
            for (String testStr : testStrings) {
                String encrypted = cipher.encrypt(testStr);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals("http://example.com/%D6sterreich", result);
        }
    
        @Test
        public void test_encodeUrl_fileProtocolWithSpecialChars() {
            // [ ] and % pass through; space would be encoded but %20 stays as-is (% is URL char)
            String result = DocumentUtil.encodeUrl("file:///data/[logs]/file%20name.txt");
            assertEquals("file:///data/[logs]/file%20name.txt", result);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                    final WebConfig webConfig = new WebConfig();
                    webConfig.setId(id);
                    webConfig.setConfigParameter("config.pipeline= "); // Blank space
                    return OptionalEntity.of(webConfig);
                }
    
                @Override
                public OptionalEntity<WebConfig> getWebConfigByName(String name) {
                    return OptionalEntity.empty();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 35.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            value = "key.with.dots=value\nkey_with_underscores=value with spaces\nkey-with-dashes=value@#$%";
            paramMap = ParameterUtil.parse(value);
            assertEquals(3, paramMap.size());
            assertEquals("value", paramMap.get("key.with.dots"));
            assertEquals("value with spaces", paramMap.get("key_with_underscores"));
            assertEquals("value@#$%", paramMap.get("key-with-dashes"));
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        }
    
        @Test
        public void test_specialCharacters() throws Exception {
            // Test with special characters
            String content = "test1\n" + "日本語\n" + "word with spaces\n" + "\ttab\tword\t\n";
    
            // Write content to test file
            writeTestFile(content);
    
            // Reload the file
            protwordsFile.reload(null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            // Test with null groups
            user = new TestFessUser("testuser", new String[] {}, null, new String[] {});
            assertNull(user.getGroupNames());
    
            // Test with groups containing spaces
            groups = new String[] { "group one", "group two" };
            user = new TestFessUser("testuser", new String[] {}, groups, new String[] {});
            assertArrayEquals(groups, user.getGroupNames());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

        public void test_add_whitespaceInName() {
            TestScriptEngine engine = new TestScriptEngine();
            scriptEngineFactory.add("  test  ", engine);
    
            // Should be stored with lowercase and original spaces
            ScriptEngine retrieved = scriptEngineFactory.getScriptEngine("  test  ");
            assertNotNull(retrieved);
            assertEquals(engine, retrieved);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertEquals("test{}|\\", result);
    
            result = systemHelper.encodeUrlFilter("test^path");
            assertEquals("test^path", result);
    
            result = systemHelper.encodeUrlFilter("test space");
            assertEquals("test+space", result);
        }
    
        @Test
        public void test_normalizeLang_caseVariations() {
            assertEquals("ja", systemHelper.normalizeLang("JA"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        @Test
        public void test_special_characters_in_paths() throws Exception {
            final File tempDir = new File(System.getProperty("java.io.tmpdir"));
            final File outputFile = new File(tempDir, "test file with spaces.out");
    
            try {
                generator.setCommandList(Collections.singletonList("echo test"));
                generator.generate("test_id", outputFile);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

        }
    
        /**
         * Escapes special characters in a value string for safe logging.
         *
         * @param action the string value to escape
         * @return the escaped string with tabs replaced by spaces
         */
        protected String escapeValue(final String action) {
            return action.replace('\t', ' ');
        }
    
        /**
         * Outputs a log message using the statistics logger.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 17.4K bytes
    - Click Count (0)
Back to Top