Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 140 for createTestSuite (0.41 sec)

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

                        return CompactHashSet.create(asList(elements));
                      }
                    })
                .named("CompactHashSet")
                .withFeatures(allFeatures)
                .createTestSuite());
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. android/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)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

        result.usingGenerator(generator);
        return result;
      }
    
      @Override
      public TestSuite createTestSuite() {
        withFeatures(KNOWN_ORDER);
        TestSuite suite = super.createTestSuite();
        for (TestSuite subSuite : createDerivedSuites(this)) {
          suite.addTest(subSuite);
        }
        return suite;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

        return testers;
      }
    
      @Override
      public TestSuite createTestSuite() {
        if (!getFeatures().contains(KNOWN_ORDER)) {
          List<Feature<?>> features = copyToList(getFeatures());
          features.add(KNOWN_ORDER);
          withFeatures(features);
        }
        return super.createTestSuite();
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

            .withFeatures(computeMultimapGetFeatures(parentBuilder.getFeatures()))
            .named(parentBuilder.getName() + ".get[key]")
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      @Override
      TestSuite computeMultimapAsMapGetTestSuite(
          FeatureSpecificTestSuiteBuilder<
                  ?, ? extends OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>>>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

       * iteration ordering corresponding to the insertion order.
       */
      @Override
      public TestSuite createTestSuite() {
        withFeatures(KNOWN_ORDER);
        return super.createTestSuite();
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
          FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

                  .suppressing(parentBuilder.getSuppressedTests())
                  .withSetUp(parentBuilder.getSetUp())
                  .withTearDown(parentBuilder.getTearDown())
                  .createTestSuite());
        }
    
        derivedSuites.add(
            MapTestSuiteBuilder.using(new AsMapGenerator<K, V, M>(parentBuilder.getSubjectGenerator()))
                .withFeatures(computeAsMapFeatures(parentBuilder.getFeatures()))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        suite.addTest(
            ListTestSuiteBuilder.using(new ImmutableMapEntryListGenerator())
                .named("ImmutableMap.entrySet.asList")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      }
    
      /** Throw {@link IllegalStateException} if {@link #createTestSuite()} can't be called yet. */
      protected void checkCanCreate() {
        if (subjectGenerator == null) {
          throw new IllegalStateException("Call using() before createTestSuite().");
        }
        if (name == null) {
          throw new IllegalStateException("Call named() before createTestSuite().");
        }
        if (features == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

        return testers;
      }
    
      @Override
      public TestSuite createTestSuite() {
        if (!getFeatures().contains(KNOWN_ORDER)) {
          List<Feature<?>> features = copyToList(getFeatures());
          features.add(KNOWN_ORDER);
          withFeatures(features);
        }
        return super.createTestSuite();
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top