public final class TestCollectionRunner extends Object implements Runnable, ToXMLReportType<TestReportConfig>
TestStateListenerType
Constructor and Description |
---|
TestCollectionRunner(TestStateListenerType in_listener,
Set<Class<?>> in_classes)
Construct a test collection runner.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Execute all tests in the set of classes given to the constructor.
|
nu.xom.Element |
toXML(TestReportConfig config) |
public TestCollectionRunner(TestStateListenerType in_listener, Set<Class<?>> in_classes)
in_listener
- The listener.in_classes
- The classes to check.public void run()
Execute all tests in the set of classes given to the constructor.
Note that this class implements Runnable
,
and the intention is that this method will be called from an
Executor
in order to run all unit tests on a
separate thread.
run
in interface Runnable
TestCollectionRunner(TestStateListenerType, Set)
public nu.xom.Element toXML(TestReportConfig config)
toXML
in interface ToXMLReportType<TestReportConfig>
config
- The current type.Copyright © 2017 <code@io7m.com> http://io7m.com