Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for cdef (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

        assertEquals(
            "getOrDefault(null, def) should return the default value",
            v3(),
            getMap().getOrDefault(null, v3()));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testGetOrDefault_nullAbsentAndUnsupported() {
        try {
          assertEquals(
              "getOrDefault(null, def) should return default or throw",
              v3(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals(
            "\uD8AB\uDCABdef", Strings.commonSuffix("abc\uD8AB\uDCABdef", "xyz\uD8AB\uDCABdef"));
        // Differing valid surrogate pairs.
        assertEquals("def", Strings.commonSuffix("abc\uD8AB\uDCABdef", "abc\uD8AC\uDCABdef"));
        // One invalid pair.
        assertEquals("def", Strings.commonSuffix("abc\uD8AB\uDCABdef", "xyz\uDCAB\uDCABdef"));
        // Two identical invalid pairs.
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

      public void testCharactersOfIsView() {
        StringBuilder builder = new StringBuilder("abc");
        List<Character> chars = charactersOf(builder);
        assertEquals(asList('a', 'b', 'c'), chars);
        builder.append("def");
        assertEquals(asList('a', 'b', 'c', 'd', 'e', 'f'), chars);
        builder.deleteCharAt(5);
        assertEquals(asList('a', 'b', 'c', 'd', 'e'), chars);
      }
    
      public void testNewArrayListEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ListsTest.java

      public void testCharactersOfIsView() {
        StringBuilder builder = new StringBuilder("abc");
        List<Character> chars = charactersOf(builder);
        assertEquals(asList('a', 'b', 'c'), chars);
        builder.append("def");
        assertEquals(asList('a', 'b', 'c', 'd', 'e', 'f'), chars);
        builder.deleteCharAt(5);
        assertEquals(asList('a', 'b', 'c', 'd', 'e'), chars);
      }
    
      public void testNewArrayListEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

                + "field1=This is string., field2=[abc, def, ghi], field3={abc=1, def=2, ghi=3}}";
    
        assertEquals(expected, toTest);
      }
    
      public void testToStringLenient_complexFields() {
        Map<String, Integer> map =
            ImmutableMap.<String, Integer>builder().put("abc", 1).put("def", 2).put("ghi", 3).build();
        String toTest =
            MoreObjects.toStringHelper(new TestClass())
                .add("field1", "This is string.")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals(
            "\uD8AB\uDCABdef", Strings.commonSuffix("abc\uD8AB\uDCABdef", "xyz\uD8AB\uDCABdef"));
        // Differing valid surrogate pairs.
        assertEquals("def", Strings.commonSuffix("abc\uD8AB\uDCABdef", "abc\uD8AC\uDCABdef"));
        // One invalid pair.
        assertEquals("def", Strings.commonSuffix("abc\uD8AB\uDCABdef", "xyz\uDCAB\uDCABdef"));
        // Two identical invalid pairs.
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top