Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for expectMissing (0.2 sec)

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

        assertContentsAnyOrder(multimap().removeAll(k0()), v0());
        expectMissing(e0());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllPropagatesToGet() {
        Collection<V> getResult = multimap().get(k0());
    
        multimap().removeAll(k0());
    
        assertEmpty(getResult);
        expectMissing(e0());
      }
    
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

              "Wrong key for value " + entry.getValue(),
              entry.getKey(),
              getMap().inverse().get(entry.getValue()));
        }
      }
    
      @Override
      protected void expectMissing(Entry<K, V>... entries) {
        super.expectMissing(entries);
        for (Entry<K, V> entry : entries) {
          Entry<V, K> reversed = reverseEntry(entry);
          BiMap<V, K> inv = getMap().inverse();
          assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAllAtIndex_tooLarge() {
        assertThrows(
            IndexOutOfBoundsException.class,
            () -> getList().addAll(getNumElements() + 1, MinimalCollection.of(e3())));
        expectUnchanged();
        expectMissing(e3());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java

        expectMissing(e0());
      }
    
      @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
      public void testRemove_sizeMany() {
        assertEquals("sizeManyQueue.remove() should return first element", e0(), getQueue().remove());
        expectMissing(e0());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

              "Wrong key for value " + entry.getValue(),
              entry.getKey(),
              getMap().inverse().get(entry.getValue()));
        }
      }
    
      @Override
      protected void expectMissing(Entry<K, V>... entries) {
        super.expectMissing(entries);
        for (Entry<K, V> entry : entries) {
          Entry<V, K> reversed = reverseEntry(entry);
          BiMap<V, K> inv = getMap().inverse();
          assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAtIndex_tooLarge() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().add(getNumElements() + 1, e3()));
        expectUnchanged();
        expectMissing(e3());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
            collection.size());
        expectMissing(e0());
      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION})
      @CollectionSize.Require(SEVERAL)
      public void testRemovePresentConcurrentWithIteration() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAllAtIndex_tooLarge() {
        assertThrows(
            IndexOutOfBoundsException.class,
            () -> getList().addAll(getNumElements() + 1, MinimalCollection.of(e3())));
        expectUnchanged();
        expectMissing(e3());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java

        assertContentsAnyOrder(multimap().removeAll(k0()), v0());
        expectMissing(e0());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllPropagatesToGet() {
        Collection<V> getResult = multimap().get(k0());
    
        multimap().removeAll(k0());
    
        assertEmpty(getResult);
        expectMissing(e0());
      }
    
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

            collection.removeAll(MinimalCollection.of(e0())));
        expectMissing(e0());
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveAll_somePresent() {
        assertTrue(
            "removeAll(intersectingCollection) should return true",
            collection.removeAll(MinimalCollection.of(e0(), e3())));
        expectMissing(e0());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top