Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 228 for spaces (0.04 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. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertEscaping(e, "%29", ')');
        assertEscaping(e, "%7E", '~');
        assertEscaping(e, "%27", '\'');
    
        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
        assertEquals("safe+with+spaces", e.escape("safe with spaces"));
        assertEquals("foo%40bar.com", e.escape("******@****.***"));
      }
    
      public void testUrlPathSegmentEscaper() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. dbflute_fess/dfprop/littleAdjustmentMap.dfprop

        #   NONE - Do nothing. (default)
        #   EXCEPTION - It throws an exception.
        #   RFILL - It fills the parameter by right spaces.
        #   LFILL - It fills the parameter by left spaces.
        #
        #; shortCharHandlingMode = NONE
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertEscaping(e, "%29", ')');
        assertEscaping(e, "%7E", '~');
        assertEscaping(e, "%27", '\'');
    
        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
        assertEquals("safe+with+spaces", e.escape("safe with spaces"));
        assertEquals("foo%40bar.com", e.escape("******@****.***"));
      }
    
      public void testUrlPathSegmentEscaper() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertUnescaped(e, ')');
        assertUnescaped(e, '~');
        assertUnescaped(e, ':');
        assertUnescaped(e, '@');
    
        // Don't use plus for spaces
        assertEscaping(e, "%20", ' ');
    
        assertEquals("safe%20with%20spaces", e.escape("safe with spaces"));
        assertEquals("******@****.***", e.escape("******@****.***"));
      }
    
      private UrlEscaperTesting() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top