Class LazyTestsToRun

java.lang.Object
org.apache.maven.surefire.api.util.TestsToRun
org.apache.maven.surefire.booter.LazyTestsToRun
All Implemented Interfaces:
Iterable<Class<?>>

final class LazyTestsToRun extends TestsToRun
A variant of TestsToRun that is provided with test class names from an System.in. The method iterator() returns an Iterator that blocks on calls to Iterator.hasNext() or Iterator.next() until new classes are available, or no more classes will be available or the internal stream is closed. The iterator can be used only in one Thread and it is the thread which executes provider implementation.