Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for assertUnescaped (0.14 sec)

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

        UnicodeEscaper e = (UnicodeEscaper) urlPathSegmentEscaper();
        assertPathEscaper(e);
        assertUnescaped(e, '+');
      }
    
      public void testUrlFragmentEscaper() {
        UnicodeEscaper e = (UnicodeEscaper) urlFragmentEscaper();
        assertUnescaped(e, '+');
        assertUnescaped(e, '/');
        assertUnescaped(e, '?');
    
        assertPathEscaper(e);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertUnescaped(e, 'a');
        assertUnescaped(e, 'z');
        assertUnescaped(e, 'A');
        assertUnescaped(e, 'Z');
        assertUnescaped(e, '0');
        assertUnescaped(e, '9');
    
        // Unreserved characters used in java.net.URLEncoder
        assertUnescaped(e, '-');
        assertUnescaped(e, '_');
        assertUnescaped(e, '.');
        assertUnescaped(e, '*');
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertUnescaped(e, 'a');
        assertUnescaped(e, 'z');
        assertUnescaped(e, 'A');
        assertUnescaped(e, 'Z');
        assertUnescaped(e, '0');
        assertUnescaped(e, '9');
    
        // Unreserved characters used in java.net.URLEncoder
        assertUnescaped(e, '-');
        assertUnescaped(e, '_');
        assertUnescaped(e, '.');
        assertUnescaped(e, '*');
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/UrlEscapersTest.java

        UnicodeEscaper e = (UnicodeEscaper) urlPathSegmentEscaper();
        assertPathEscaper(e);
        assertUnescaped(e, '+');
      }
    
      public void testUrlFragmentEscaper() {
        UnicodeEscaper e = (UnicodeEscaper) urlFragmentEscaper();
        assertUnescaped(e, '+');
        assertUnescaped(e, '/');
        assertUnescaped(e, '?');
    
        assertPathEscaper(e);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

     * limitations under the License.
     */
    
    package com.google.common.net;
    
    import static com.google.common.escape.testing.EscaperAsserts.assertEscaping;
    import static com.google.common.escape.testing.EscaperAsserts.assertUnescaped;
    import static com.google.common.escape.testing.EscaperAsserts.assertUnicodeEscaping;
    import static com.google.common.net.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/PercentEscaperTest.java

     * limitations under the License.
     */
    
    package com.google.common.net;
    
    import static com.google.common.escape.testing.EscaperAsserts.assertEscaping;
    import static com.google.common.escape.testing.EscaperAsserts.assertUnescaped;
    import static com.google.common.escape.testing.EscaperAsserts.assertUnicodeEscaping;
    import static com.google.common.net.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

     * limitations under the License.
     */
    
    package com.google.common.xml;
    
    import static com.google.common.escape.testing.EscaperAsserts.assertEscaping;
    import static com.google.common.escape.testing.EscaperAsserts.assertUnescaped;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.escape.CharEscaper;
    import junit.framework.TestCase;
    
    /**
     * Tests for the {@link XmlEscapers} class.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       */
      public static void assertUnescaped(CharEscaper escaper, char c) {
        Assert.assertNull(computeReplacement(escaper, c));
      }
    
      /**
       * Asserts that a Unicode escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
       * @param cp the Unicode code point to test
       */
      public static void assertUnescaped(UnicodeEscaper escaper, int cp) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       */
      public static void assertUnescaped(CharEscaper escaper, char c) {
        Assert.assertNull(computeReplacement(escaper, c));
      }
    
      /**
       * Asserts that a Unicode escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
       * @param cp the Unicode code point to test
       */
      public static void assertUnescaped(UnicodeEscaper escaper, int cp) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
Back to top