Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testContainsAll_wrongType (0.11 sec)

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

      public void testContainsAll_nullPresent() {
        initCollectionWithNullElement();
        assertTrue(collection.containsAll(MinimalCollection.of((E) null)));
      }
    
      public void testContainsAll_wrongType() {
        Collection<WrongType> wrong = MinimalCollection.of(WrongType.VALUE);
        try {
          assertFalse(
              "containsAll(wrongType) should return false or throw", collection.containsAll(wrong));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top