Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertCollectionSize (0.11 sec)

  1. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        if (size > 0) {
          assertFalse(map.isEmpty());
        } else {
          assertTrue(map.isEmpty());
        }
        assertCollectionSize(map.keySet(), size);
        assertCollectionSize(map.entrySet(), size);
        assertCollectionSize(map.values(), size);
      }
    
      private void assertCollectionSize(Collection<?> collection, int size) {
        assertEquals(size, collection.size());
        if (size > 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        if (size > 0) {
          assertFalse(map.isEmpty());
        } else {
          assertTrue(map.isEmpty());
        }
        assertCollectionSize(map.keySet(), size);
        assertCollectionSize(map.entrySet(), size);
        assertCollectionSize(map.values(), size);
      }
    
      private void assertCollectionSize(Collection<?> collection, int size) {
        assertEquals(size, collection.size());
        if (size > 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top