Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertEquals("string with spaces", spaceEscaper.escape("string with spaces"));
      }
    
      /** Tests that if we add extra 'safe' characters they remain unescaped */
      public void testCustomEscaper() {
        UnicodeEscaper e = new PercentEscaper("+*/-", false);
        for (char c = 0; c < 128; c++) {
          if ((c >= '0' && c <= '9')
              || (c >= 'a' && c <= 'z')
              || (c >= 'A' && c <= 'Z')
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertEquals("string with spaces", spaceEscaper.escape("string with spaces"));
      }
    
      /** Tests that if we add extra 'safe' characters they remain unescaped */
      public void testCustomEscaper() {
        UnicodeEscaper e = new PercentEscaper("+*/-", false);
        for (char c = 0; c < 128; c++) {
          if ((c >= '0' && c <= '9')
              || (c >= 'a' && c <= 'z')
              || (c >= 'A' && c <= 'Z')
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            String name = "param-name_123!@#";
            String[] values = { "value with spaces", "value@special#chars", "日本語" };
            RequestParameter param = new RequestParameter(name, values);
    
            assertEquals(name, param.getName());
            assertNotNull(param.getValues());
            assertEquals(3, param.getValues().length);
            assertEquals("value with spaces", param.getValues()[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/org/codelibs/fess/util/FacetResponseTest.java

    public class FacetResponseTest extends UnitFessTestCase {
    
        public void test_base64_encoding_decoding() {
            // Test that base64 encoding and decoding works correctly
            String originalString = "test field with spaces";
            String encoded = BaseEncoding.base64().encode(originalString.getBytes(StandardCharsets.UTF_8));
            String decoded = new String(BaseEncoding.base64().decode(encoded), StandardCharsets.UTF_8);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default String[] getCrawlerDocumentSpaces() {
            String[] spaces = (String[]) propMap.get(CRAWLER_DOCUMENT_SPACES);
            if (spaces == null) {
                spaces = Arrays.stream(getCrawlerDocumentSpaceCharsAsArray()).mapToObj(Character::toString).toArray(n -> new String[n]);
                propMap.put(CRAWLER_DOCUMENT_SPACES, spaces);
            }
            return spaces;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
Back to top