Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 202 for createTestSuite (0.21 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

                .usingGenerator("yam")
                .named("yam")
                .withFeatures(CollectionFeature.NONE)
                .withSetUp(setUpRunnable)
                .withTearDown(tearDownRunnable)
                .createTestSuite();
        TestResult result = new TestResult();
        int timesMyTesterWasRunBeforeSuite = MyTester.timesTestClassWasRun;
        test.run(result);
        assertEquals(timesMyTesterWasRunBeforeSuite + 1, MyTester.timesTestClassWasRun);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/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() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

                        return CompactLinkedHashSet.create(Arrays.asList(elements));
                      }
                    })
                .named("CompactLinkedHashSet")
                .withFeatures(allFeatures)
                .createTestSuite());
        return suite;
      }
    
      public void testAllocArraysDefault() {
        CompactHashSet<Integer> set = CompactHashSet.create();
        assertThat(set.needsAllocArrays()).isTrue();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Oct 24 18:57:48 GMT 2019
    - 3.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.KNOWN_ORDER)
                .createTestSuite());
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestStringMapGenerator() {
                      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 21:08:15 GMT 2022
    - 7.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

                  .suppressing(parentBuilder.getSuppressedTests())
                  .withSetUp(parentBuilder.getSetUp())
                  .withTearDown(parentBuilder.getTearDown())
                  .createTestSuite());
        }
        return derivedSuites;
      }
    
      static class ReserializedCollectionGenerator<E> implements TestCollectionGenerator<E> {
        final OneSizeTestContainerGenerator<Collection<E>, E> gen;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 18 22:49:45 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTest(
            MultisetTestSuiteBuilder.using(
                    new TestStringMultisetGenerator() {
                      @Override
                      protected Multiset<String> create(String[] elements) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  7. 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() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
    
        return suite;
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Queue.class,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTest(
            NavigableSetTestSuiteBuilder.using(new ImmutableSortedSetExplicitComparator())
                .named(ImmutableSortedSetTest.class.getName() + ", explicit comparator, vararg")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                    CollectionFeature.KNOWN_ORDER,
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES)
                .named("ImmutableSortedMap")
                .createTestSuite());
        suite.addTest(
            MapTestSuiteBuilder.using(new ImmutableSortedMapCopyOfEntriesGenerator())
                .withFeatures(
                    CollectionSize.ANY,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
Back to top