Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for assertMoreInvariants (0.3 sec)

  1. guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

      }
    
      @Override
      protected SortedMap<K, V> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      private static final Joiner joiner = Joiner.on(", ");
    
      @Override
      protected void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 17 01:34:55 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

      }
    
      @Override
      protected Map<K, V> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      private static final Joiner JOINER = Joiner.on(", ");
    
      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
        BiMap<K, V> bimap = (BiMap<K, V>) map;
    
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 09 16:16:28 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

      }
    
      @Override
      protected SortedMap<K, V> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      private static final Joiner joiner = Joiner.on(", ");
    
      @Override
      protected void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 17 01:34:55 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

      }
    
      @Override
      protected Map<K, V> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      private static final Joiner JOINER = Joiner.on(", ");
    
      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 09 02:18:08 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

      }
    
      @Override
      protected Map<K, V> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      private static final Joiner JOINER = Joiner.on(", ");
    
      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 09 02:18:08 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

      }
    
      @Override
      protected Map<K, V> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      private static final Joiner JOINER = Joiner.on(", ");
    
      @Override
      protected final void assertMoreInvariants(Map<K, V> map) {
        BiMap<K, V> bimap = (BiMap<K, V>) map;
    
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 09 16:16:28 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          }
        }
        return true;
      }
    
      /**
       * Checks all the properties that should always hold of a map. Also calls {@link
       * #assertMoreInvariants} to check invariants that are peculiar to specific implementations.
       *
       * @see #assertMoreInvariants
       * @param map the map to check.
       */
      protected final void assertInvariants(Map<K, V> map) {
        Set<K> keySet = map.keySet();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          }
        }
        return true;
      }
    
      /**
       * Checks all the properties that should always hold of a map. Also calls {@link
       * #assertMoreInvariants} to check invariants that are peculiar to specific implementations.
       *
       * @see #assertMoreInvariants
       * @param map the map to check.
       */
      protected final void assertInvariants(Map<K, V> map) {
        Set<K> keySet = map.keySet();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (2)
Back to top