Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for ab2c (0.82 sec)

  1. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base32(), "let's not talk of love or chains!");
        // An 8n+{1,3,6} length string is never legal base32.
        assertFailsToDecode(base32(), "A", "Invalid input length 1");
        assertFailsToDecode(base32(), "ABC");
        assertFailsToDecode(base32(), "ABCDEF");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base32(), "AB=C", "Unrecognized character: =");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 24.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

      public void testReadEmptyString() throws IOException {
        assertReadsCorrectly("");
      }
    
      public void testReadsStringsCorrectly() throws IOException {
        assertReadsCorrectly("abc");
        assertReadsCorrectly("abcde");
        assertReadsCorrectly("abcdefghijkl");
        assertReadsCorrectly(
            ""
                + "abcdefghijklmnopqrstuvwxyz\n"
                + "ABCDEFGHIJKLMNOPQRSTUVWXYZ\r"
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

       */
      public void testBadArguments_badchars() {
        String msg =
            "Alphanumeric characters are always 'safe' " + "and should not be explicitly specified";
        try {
          new PercentEscaper("-+#abc.!", false);
          fail(msg);
        } catch (IllegalArgumentException expected) {
          assertThat(expected).hasMessageThat().isEqualTo(msg);
        }
      }
    
      public void testBadArguments_plusforspace() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ListsTest.java

                .createTestSuite());
    
        return suite;
      }
    
      public void testCharactersOfIsView() {
        StringBuilder builder = new StringBuilder("abc");
        List<Character> chars = Lists.charactersOf(builder);
        assertEquals(asList('a', 'b', 'c'), chars);
        builder.append("def");
        assertEquals(asList('a', 'b', 'c', 'd', 'e', 'f'), chars);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ComparatorsTest.java

      }
    
      public void testEmptiesFirst() {
        Optional<String> empty = Optional.empty();
        Optional<String> abc = Optional.of("abc");
        Optional<String> z = Optional.of("z");
    
        Comparator<Optional<String>> comparator = Comparators.emptiesFirst(comparing(String::length));
        Helpers.testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharSourceTest.java

        }
        assertEquals(expected, builder.toString());
      }
    
      static final CharSource BROKEN_READ_SOURCE = new TestCharSource("ABC", READ_THROWS);
      static final CharSource BROKEN_CLOSE_SOURCE = new TestCharSource("ABC", CLOSE_THROWS);
      static final CharSource BROKEN_OPEN_SOURCE = new TestCharSource("ABC", OPEN_THROWS);
      static final CharSink BROKEN_WRITE_SINK = new TestCharSink(WRITE_THROWS);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      private static final ImmutableSet<String> VALID_NAME =
          ImmutableSet.of(
              "foo.com",
              "f-_-o.cOM",
              "f--1.com",
              "f11-1.com",
              "www",
              "abc.a23",
              "biz.com.ua",
              "x",
              "fOo",
              "f--o",
              "f_a",
              "foo.net.us\uFF61ocm",
              "woo.com.",
              "8server.shop",
              "123.cn",
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/PercentEscaperTest.java

       */
      public void testBadArguments_badchars() {
        String msg =
            "Alphanumeric characters are always 'safe' " + "and should not be explicitly specified";
        try {
          new PercentEscaper("-+#abc.!", false);
          fail(msg);
        } catch (IllegalArgumentException expected) {
          assertThat(expected).hasMessageThat().isEqualTo(msg);
        }
      }
    
      public void testBadArguments_plusforspace() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/Collections2Test.java

                    unfiltered.add("yyy");
                    unfiltered.addAll(ImmutableList.copyOf(elements));
                    unfiltered.add("zzz");
                    unfiltered.add("abc");
                    return Collections2.filter(Collections2.filter(unfiltered, LENGTH_1), NOT_YYY_ZZZ);
                  }
                })
            .named("Collections2.filter, filtered input")
            .withFeatures(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/Collections2Test.java

                    unfiltered.add("yyy");
                    unfiltered.addAll(ImmutableList.copyOf(elements));
                    unfiltered.add("zzz");
                    unfiltered.add("abc");
                    return Collections2.filter(Collections2.filter(unfiltered, LENGTH_1), NOT_YYY_ZZZ);
                  }
                })
            .named("Collections2.filter, filtered input")
            .withFeatures(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top