Class NavigableSetTestSuiteBuilder<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>
com.google.common.collect.testing.NavigableSetTestSuiteBuilder<E>
@GwtIncompatible
public final class NavigableSetTestSuiteBuilder<E>
extends SortedSetTestSuiteBuilder<E>
Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableSet
implementation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<junit.framework.TestSuite> createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) protected List<Class<? extends AbstractTester>> newBuilderUsing(TestSortedSetGenerator<E> delegate, DerivedCollectionGenerators.Bound to, DerivedCollectionGenerators.Bound from) static <E> NavigableSetTestSuiteBuilder<E> using(TestSortedSetGenerator<E> generator) Methods inherited from class SortedSetTestSuiteBuilder
createTestSuiteModifier and TypeMethodDescriptionjunit.framework.TestSuiteCreates a runnable JUnit test suite based on the criteria already given.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
-
NavigableSetTestSuiteBuilder
public NavigableSetTestSuiteBuilder()
-
-
Method Details
-
using
-
createDerivedSuites
protected List<junit.framework.TestSuite> createDerivedSuites(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) - Overrides:
createDerivedSuitesin classSortedSetTestSuiteBuilder<E>
-
newBuilderUsing
public NavigableSetTestSuiteBuilder<E> newBuilderUsing(TestSortedSetGenerator<E> delegate, DerivedCollectionGenerators.Bound to, DerivedCollectionGenerators.Bound from) -
getTesters
- Overrides:
getTestersin classSortedSetTestSuiteBuilder<E>
-