Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 140 for createTestSuite (0.12 sec)

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

                .named("NoRemoveMultiset")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SUPPORTS_ADD)
                .createTestSuite());
        return suite;
      }
    
      @SuppressWarnings("ModifiedButNotUsed")
      public void testFastAddAllMultiset() {
        final AtomicInteger addCalls = new AtomicInteger();
        Multiset<String> multiset =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

            CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
            CollectionSize.ANY);
        return MapTestSuiteBuilder.using(generator)
            .named(name)
            .withFeatures(featuresList)
            .createTestSuite();
      }
    
      // TODO: consider being null-hostile in these tests
    
      private static Test testsForHashMapNullKeysForbidden() {
        return wrappedHashMapTests(
            new WrappedHashMapGenerator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                  }
                })
            .named(parentBuilder.getName() + " descending")
            .withFeatures(features)
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

                    MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
                    CollectionFeature.SERIALIZABLE,
                    CollectionSize.ANY)
                .createTestSuite());
        suite.addTestSuite(ArrayListMultimapTest.class);
        return suite;
      }
    
      protected ListMultimap<String, Integer> create() {
        return ArrayListMultimap.create();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

                      CollectionSize.ONE,
                      CollectionSize.SEVERAL,
                      CollectionFeature.RESTRICTS_ELEMENTS,
                      ListFeature.SUPPORTS_SET)
                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

                      CollectionSize.ONE,
                      CollectionSize.SEVERAL,
                      CollectionFeature.RESTRICTS_ELEMENTS,
                      ListFeature.SUPPORTS_SET)
                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

                      CollectionSize.ONE,
                      CollectionSize.SEVERAL,
                      CollectionFeature.RESTRICTS_ELEMENTS,
                      ListFeature.SUPPORTS_SET)
                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

                      CollectionSize.ONE,
                      CollectionSize.SEVERAL,
                      CollectionFeature.RESTRICTS_ELEMENTS,
                      ListFeature.SUPPORTS_SET)
                  .createTestSuite());
        }
        return suite;
      }
    
      // Test generators.  To let the GWT test suite generator access them, they need to be
      // public named classes with a public default constructor.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTest(
            ListTestSuiteBuilder.using(
                    new TestStringListGenerator() {
                      @Override
                      protected List<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

        suite.addTest(
            MapTestSuiteBuilder.using(new ImmutableEnumMapGenerator())
                .named("Maps.immutableEnumMap")
                .withFeatures(CollectionSize.ANY, SERIALIZABLE, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        suite.addTestSuite(ImmutableEnumMapTest.class);
        return suite;
      }
    
      public void testIteratesOnce() {
        Map<AnEnum, AnEnum> map =
            Maps.asMap(
                ImmutableSet.of(AnEnum.A),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top