Class SortedSetTestSuiteBuilder<E>
java.lang.Object
com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder<SetTestSuiteBuilder<E>, TestCollectionGenerator<E>>
com.google.common.collect.testing.PerCollectionSizeTestSuiteBuilder<SetTestSuiteBuilder<E>, TestCollectionGenerator<E>, Collection<E>, E>
com.google.common.collect.testing.AbstractCollectionTestSuiteBuilder<SetTestSuiteBuilder<E>, E>
com.google.common.collect.testing.SetTestSuiteBuilder<E>
com.google.common.collect.testing.SortedSetTestSuiteBuilder<E>
- Direct Known Subclasses:
NavigableSetTestSuiteBuilder
Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedSet
implementation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<junit.framework.TestSuite> createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) junit.framework.TestSuiteCreates a runnable JUnit test suite based on the criteria already given.protected List<Class<? extends AbstractTester>> static <E> SortedSetTestSuiteBuilder<E> using(TestSortedSetGenerator<E> generator) Methods inherited from class SetTestSuiteBuilder
usingModifier and TypeMethodDescriptionstatic <E> SetTestSuiteBuilder<E> using(TestSetGenerator<E> generator) Methods inherited from class FeatureSpecificTestSuiteBuilder
checkCanCreate, formatFeatureSet, getFeatures, getName, getSetUp, getSubjectGenerator, getSuppressedTests, getTearDown, makeSuiteForTesterClass, named, self, suppressing, suppressing, usingGenerator, withFeatures, withFeatures, withSetUp, withTearDownModifier and TypeMethodDescriptionprotected voidThrowIllegalStateExceptionifFeatureSpecificTestSuiteBuilder.createTestSuite()can't be called yet.protected static StringformatFeatureSet(Set<? extends Feature<?>> features) getName()@Nullable RunnablegetSetUp()@Nullable Runnableprotected junit.framework.TestSuitemakeSuiteForTesterClass(Class<? extends AbstractTester<?>> testerClass) Configures this builder produce a TestSuite with the given name.protected SetTestSuiteBuilder<E> self()suppressing(Method... methods) Prevents the given methods from being run as part of the test suite.suppressing(Collection<Method> methods) protected SetTestSuiteBuilder<E> usingGenerator(TestCollectionGenerator<E> subjectGenerator) withFeatures(Feature<?>... features) Configures this builder to produce tests appropriate for the given features.withFeatures(Iterable<? extends Feature<?>> features) withTearDown(@Nullable Runnable tearDown)
-
Constructor Details
-
SortedSetTestSuiteBuilder
public SortedSetTestSuiteBuilder()
-
-
Method Details
-
using
-
getTesters
- Overrides:
getTestersin classSetTestSuiteBuilder<E>
-
createTestSuite
public junit.framework.TestSuite createTestSuite()Description copied from class:PerCollectionSizeTestSuiteBuilderCreates a runnable JUnit test suite based on the criteria already given.- Overrides:
createTestSuitein classPerCollectionSizeTestSuiteBuilder<SetTestSuiteBuilder<E>, TestCollectionGenerator<E>, Collection<E>, E>
-
createDerivedSuites
protected List<junit.framework.TestSuite> createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) - Overrides:
createDerivedSuitesin classSetTestSuiteBuilder<E>
-