Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for assertInvariants (0.12 sec)

  1. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          } catch (NullPointerException optional) {
          }
        }
        assertInvariants(map);
      }
    
      public void testEntrySet() {
        Map<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertInvariants(map);
    
        Set<Entry<K, V>> entrySet = map.entrySet();
        K unmappedKey;
        V unmappedValue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          } catch (NullPointerException optional) {
          }
        }
        assertInvariants(map);
      }
    
      public void testEntrySet() {
        Map<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertInvariants(map);
    
        Set<Entry<K, V>> entrySet = map.entrySet();
        K unmappedKey;
        V unmappedValue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

            assertEquals(initialSize - 1, map.size());
          } else {
            assertThrows(UnsupportedOperationException.class, () -> map.remove(keyToRemove));
          }
          assertInvariants(map);
        }
      }
    
      abstract static class RowMapTests extends MapMapTests {
        RowMapTests(
            boolean allowsNullValues,
            boolean supportsRemove,
            boolean supportsClear,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TableCollectionTest.java

            assertEquals(initialSize - 1, map.size());
          } else {
            assertThrows(UnsupportedOperationException.class, () -> map.remove(keyToRemove));
          }
          assertInvariants(map);
        }
      }
    
      abstract static class RowMapTests extends MapMapTests {
        RowMapTests(
            boolean allowsNullValues,
            boolean supportsRemove,
            boolean supportsClear,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top