Class SingleTestClass
java.lang.Object
org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.TestDefinition
org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.SingleTestClass
- All Implemented Interfaces:
NamedTest
Represents the single
test
(class) that's configured to be launched by the JUnitLauncherTask
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.TestDefinition
TestDefinition.ForkedRepresentation
-
Field Summary
Fields inherited from class org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.TestDefinition
excludeEngines, failureProperty, forkDefinition, haltOnFailure, ifProperty, includeEngines, listeners, outputDir, unlessProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TestDefinition
String[]
getName()
void
setMethods
(String methods) void
protected List
<TestDefinition.ForkedRepresentation> Methods inherited from class org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.TestDefinition
addConfiguredListener, createFork, getExcludeEngines, getFailureProperty, getIncludeEngines, getListeners, getOutputDir, isHaltOnFailure, setExcludeEngines, setFailureProperty, setHaltOnFailure, setIf, setIncludeEngines, setOutputDir, setUnless, shouldRun
-
Constructor Details
-
SingleTestClass
public SingleTestClass()
-
-
Method Details
-
setName
-
getName
-
setMethods
-
getMethods
-
toForkedRepresentations
protected List<TestDefinition.ForkedRepresentation> toForkedRepresentations() throws IllegalStateException- Specified by:
toForkedRepresentations
in classTestDefinition
- Throws:
IllegalStateException
-
fromForkedRepresentation
public static TestDefinition fromForkedRepresentation(XMLStreamReader reader) throws XMLStreamException - Throws:
XMLStreamException
-