Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for assertInvariants (0.07 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/hash/Murmur3Hash32Test.java

        // https://github.com/aappleby/smhasher/blob/master/src/main.cpp
        HashTestUtils.verifyHashFunction(hf, 32, 0xB0F57EE3);
      }
    
      public void testInvariants() {
        HashTestUtils.assertInvariants(murmur3_32());
      }
    
      @SuppressWarnings("deprecation")
      public void testInvalidUnicodeHashString() {
        String str =
            new String(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. 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)
  5. 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