com.google.common.collect.testing
Class DerivedIteratorTestSuiteBuilder<E>
java.lang.Object
com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder<DerivedIteratorTestSuiteBuilder<E>,TestSubjectGenerator<? extends Iterable<E>>>
com.google.common.collect.testing.DerivedIteratorTestSuiteBuilder<E>
public class DerivedIteratorTestSuiteBuilder<E>
- extends FeatureSpecificTestSuiteBuilder<DerivedIteratorTestSuiteBuilder<E>,TestSubjectGenerator<? extends Iterable<E>>>
Given a test iterable generator, builds a test suite for the
iterable's iterator, by delegating to a IteratorTestSuiteBuilder
.
- Author:
- George van den Driessche
Method Summary |
junit.framework.TestSuite |
createTestSuite()
Creates a runnable JUnit test suite based on the criteria already given. |
protected List<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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DerivedIteratorTestSuiteBuilder
public DerivedIteratorTestSuiteBuilder()
getTesters
protected List<Class<? extends AbstractTester>> getTesters()
- We rely entirely on the delegate builder for test creation, so this
just throws UnsupportedOperationException.
- Specified by:
getTesters
in class FeatureSpecificTestSuiteBuilder<DerivedIteratorTestSuiteBuilder<E>,TestSubjectGenerator<? extends 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 class FeatureSpecificTestSuiteBuilder<DerivedIteratorTestSuiteBuilder<E>,TestSubjectGenerator<? extends Iterable<E>>>
Copyright © 2010-2012. All Rights Reserved.