com.google.common.collect.testing
Class DerivedIteratorTestSuiteBuilder<E>

java.lang.Object
  extended by com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder<DerivedIteratorTestSuiteBuilder<E>,TestSubjectGenerator<? extends Iterable<E>>>
      extended by 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

Constructor Summary
DerivedIteratorTestSuiteBuilder()
           
 
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
 

Constructor Detail

DerivedIteratorTestSuiteBuilder

public DerivedIteratorTestSuiteBuilder()
Method Detail

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-2011. All Rights Reserved.