Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGet_wrongType (0.08 sec)

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

        initMapWithNullValue();
        assertNull(
            "getOrDefault(mappedToNull, default) should return null",
            getMap().getOrDefault(getKeyForNullValue(), v3()));
      }
    
      public void testGet_wrongType() {
        try {
          assertEquals(
              "getOrDefault(wrongType, default) should return default or throw",
              v3(),
              getMap().getOrDefault(WrongType.VALUE, 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)
Back to top