B
- The concrete type of this builder (the 'self-type'). All the Builder methods of this
class (such as FeatureSpecificTestSuiteBuilder.named(String)
) return this type, so that Builder methods of more
derived classes can be chained onto them without casting.G
- The type of the generator to be passed to testers in the generated test suite. An
instance of G should somehow provide an instance of the class under test, plus any other
information required to parameterize the test.public abstract class PerCollectionSizeTestSuiteBuilder<B extends PerCollectionSizeTestSuiteBuilder<B,G,T,E>,G extends TestContainerGenerator<T,E>,T,E> extends FeatureSpecificTestSuiteBuilder<B,G>
CollectionSize
present in the features specified by FeatureSpecificTestSuiteBuilder.withFeatures(Feature...)
.FeatureSpecificTestSuiteBuilder
Modifier and Type | Class and Description |
---|---|
private static class |
PerCollectionSizeTestSuiteBuilder.OneSizeTestSuiteBuilder<T,E>
Builds a test suite for one particular
CollectionSize . |
Modifier and Type | Field and Description |
---|---|
private static java.util.logging.Logger |
logger |
Constructor and Description |
---|
PerCollectionSizeTestSuiteBuilder() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<junit.framework.TestSuite> |
createDerivedSuites(FeatureSpecificTestSuiteBuilder<?,? extends OneSizeTestContainerGenerator<T,E>> parentBuilder) |
junit.framework.TestSuite |
createTestSuite()
Creates a runnable JUnit test suite based on the criteria already given.
|
checkCanCreate, formatFeatureSet, getFeatures, getName, getSetUp, getSubjectGenerator, getSuppressedTests, getTearDown, getTesters, makeSuiteForTesterClass, named, self, suppressing, suppressing, usingGenerator, withFeatures, withFeatures, withSetUp, withTearDown
public junit.framework.TestSuite createTestSuite()
createTestSuite
in class FeatureSpecificTestSuiteBuilder<B extends PerCollectionSizeTestSuiteBuilder<B,G,T,E>,G extends TestContainerGenerator<T,E>>
protected java.util.List<junit.framework.TestSuite> createDerivedSuites(FeatureSpecificTestSuiteBuilder<?,? extends OneSizeTestContainerGenerator<T,E>> parentBuilder)