Class TestClasses
java.lang.Object
org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.TestDefinition
org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.TestClasses
Represents a
testclasses
that's configured to be launched by the JUnitLauncherTask
-
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 TypeMethodDescriptionvoid
add
(ResourceCollection resourceCollection) static List<TestDefinition>
protected void
toForkedRepresentation
(JUnitLauncherTask task, XMLStreamWriter writer) 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
-
TestClasses
public TestClasses()
-
-
Method Details
-
add
-
getTestClassNames
-
toForkedRepresentation
protected void toForkedRepresentation(JUnitLauncherTask task, XMLStreamWriter writer) throws XMLStreamException - Specified by:
toForkedRepresentation
in classTestDefinition
- Throws:
XMLStreamException
-
fromForkedRepresentation
public static List<TestDefinition> fromForkedRepresentation(XMLStreamReader reader) throws XMLStreamException - Throws:
XMLStreamException
-