public class JUnitTestFramework extends Object implements TestFramework
| Constructor and Description |
|---|
JUnitTestFramework(Test testTask) |
| Modifier and Type | Method and Description |
|---|---|
JUnitDetector |
getDetector()
Returns a detector which is used to determine which of the candidate class files correspond to test classes to be
executed.
|
JUnitOptions |
getOptions() |
WorkerTestClassProcessorFactory |
getProcessorFactory()
Returns a factory which is used to create a
TestClassProcessor in
each worker process. |
Action<WorkerProcessBuilder> |
getWorkerConfigurationAction()
Returns an action which is used to perform some framework specific worker process configuration.
|
void |
report() |
public JUnitTestFramework(Test testTask)
public WorkerTestClassProcessorFactory getProcessorFactory()
TestFrameworkTestClassProcessor in
each worker process. This factory is serialized across to the worker process, and then it's WorkerTestClassProcessorFactory.create(org.gradle.internal.service.ServiceRegistry)
method is called to create the test processor.getProcessorFactory in interface TestFrameworkpublic Action<WorkerProcessBuilder> getWorkerConfigurationAction()
TestFrameworkgetWorkerConfigurationAction in interface TestFrameworkpublic void report()
report in interface TestFrameworkpublic JUnitOptions getOptions()
getOptions in interface TestFrameworkpublic JUnitDetector getDetector()
TestFrameworkgetDetector in interface TestFrameworkCopyright © 2013. All rights reserved