Class DerivedIteratorTestSuiteBuilder<E>
- java.lang.Object
-
- com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder<DerivedIteratorTestSuiteBuilder<E>,TestSubjectGenerator<? extends java.lang.Iterable<E>>>
-
- com.google.common.collect.testing.DerivedIteratorTestSuiteBuilder<E>
-
@GwtIncompatible public class DerivedIteratorTestSuiteBuilder<E> extends FeatureSpecificTestSuiteBuilder<DerivedIteratorTestSuiteBuilder<E>,TestSubjectGenerator<? extends java.lang.Iterable<E>>>
Given a test iterable generator, builds a test suite for the iterable's iterator, by delegating to aIteratorTestSuiteBuilder
.
-
-
Constructor Summary
Constructors Constructor Description DerivedIteratorTestSuiteBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description junit.framework.TestSuite
createTestSuite()
Creates a runnable JUnit test suite based on the criteria already given.protected java.util.List<java.lang.Class<? extends AbstractTester>>
getTesters()
We rely entirely on the delegate builder for test creation, so this just throws UnsupportedOperationException.-
Methods inherited from class com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder
checkCanCreate, formatFeatureSet, getFeatures, getName, getSetUp, getSubjectGenerator, getSuppressedTests, getTearDown, makeSuiteForTesterClass, named, self, suppressing, suppressing, usingGenerator, withFeatures, withFeatures, withSetUp, withTearDown
-
-
-
-
Method Detail
-
getTesters
protected java.util.List<java.lang.Class<? extends AbstractTester>> getTesters()
We rely entirely on the delegate builder for test creation, so this just throws UnsupportedOperationException.- Specified by:
getTesters
in classFeatureSpecificTestSuiteBuilder<DerivedIteratorTestSuiteBuilder<E>,TestSubjectGenerator<? extends java.lang.Iterable<E>>>
- Returns:
- never.
-
createTestSuite
public junit.framework.TestSuite createTestSuite()
Description copied from class:FeatureSpecificTestSuiteBuilder
Creates a runnable JUnit test suite based on the criteria already given.- Overrides:
createTestSuite
in classFeatureSpecificTestSuiteBuilder<DerivedIteratorTestSuiteBuilder<E>,TestSubjectGenerator<? extends java.lang.Iterable<E>>>
-
-