Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for spaces (0.05 sec)

  1. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            pathMappingList.add(pathMapping);
    
            pathMappingHelper.cachedPathMappingList = pathMappingList;
    
            String text = "\"file:///home/user with spaces/\"";
            assertEquals("\"http://localhost/user with spaces/\"", pathMappingHelper.replaceUrls(text));
        }
    
        public void test_replaceUrl_withSpecialCharacters() {
            final String sessionId = "test";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            System.setProperty("empty", "");
            String value = "${empty}";
            assertEquals("", ResourceUtil.resolve(value));
    
            // Test property with just spaces
            System.setProperty("spaces", "   ");
            value = "${spaces}";
            assertEquals("   ", ResourceUtil.resolve(value));
    
            // Test long property name
            System.setProperty("very.long.property.name.with.many.dots", "long");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

      }
    
      @Test
      fun stringEscapingIsWeird() {
        val expected =
          """
          |--AaB03x
          |Content-Disposition: form-data; name="field with spaces"; filename="filename with spaces.txt"
          |Content-Type: text/plain; charset=utf-8
          |
          |okay
          |--AaB03x
          |Content-Disposition: form-data; name="field with %22"
          |
          |"
          |--AaB03x
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                System.clearProperty(Constants.FESS_CONFIG_PREFIX + testKey);
            }
        }
    
        // Test property with spaces
        public void test_get_propertyWithSpaces() {
            String testKey = "property.with.spaces";
            String valueWithSpaces = "  value with spaces  ";
            System.setProperty(Constants.FESS_CONFIG_PREFIX + testKey, valueWithSpaces);
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

            assertEquals("RAdministrators", permissionHelper.encode("{role}Administrators"));
            assertEquals("D1user with spaces", permissionHelper.encode("(deny){user}user with spaces"));
            assertEquals("DR_role_with_underscores", permissionHelper.encode("(deny){role}_role_with_underscores"));
            assertEquals("D2group123", permissionHelper.encode("(deny){group}group123"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            // Default constructor
        }
    
        /**
         * Quotes a string value if it contains spaces.
         * Multi-word values are wrapped in double quotes with internal quotes replaced by spaces.
         *
         * @param value the string value to quote
         * @return the quoted string if it contains spaces, otherwise the original value
         */
        protected String quote(final String value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            assertEquals(1000, result.length());
        }
    
        public void test_getDetectText_whitespaceNormalization() {
            String text = "Text   with\tmultiple\n\r  spaces";
            String result = languageHelper.getDetectText(text);
            assertEquals("Text with multiple spaces", result);
        }
    
        public void test_getSupportedLanguage_supported() {
            assertEquals("ja", languageHelper.getSupportedLanguage("ja"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    http://ExAmPlE.CoM http://other.com/ s:http p:/ h:example.com
    
    # Spaces should fail
    http://example\sexample.com
    
    # This should fail
    http://Goo%20\sgoo%7C|.com
    
    # U+3000 is mapped to U+0020 (space) which is disallowed
    http://GOO\u00a0\u3000goo.com
    
    # Other types of space (no-break, zero-width, zero-width-no-break) are
    # name-prepped away to nothing.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        }
    
        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);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            // Leading and trailing spaces
            value = " value1 , value2 , value3 ";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(3, result.length);
            assertEquals(" value1 ", result[0]);
            assertEquals(" value2 ", result[1]);
            assertEquals(" value3 ", result[2]);
    
            // Spaces in quoted values
            value = "\" spaced value \",\"  another  \"";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top