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
 
 public class SingleTestClass extends TestDefinition implements NamedTest Represents the singletest(class) that's configured to be launched by theJUnitLauncherTask
- 
- 
Field Summary- 
Fields inherited from class org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.TestDefinitionexcludeEngines, failureProperty, forkDefinition, haltOnFailure, ifProperty, includeEngines, listeners, outputDir, unlessProperty
 
- 
 - 
Constructor SummaryConstructors Constructor Description SingleTestClass()
 - 
Method SummaryModifier and Type Method Description static TestDefinitionfromForkedRepresentation(javax.xml.stream.XMLStreamReader reader)java.lang.String[]getMethods()java.lang.StringgetName()voidsetMethods(java.lang.String methods)voidsetName(java.lang.String test)protected voidtoForkedRepresentation(JUnitLauncherTask task, javax.xml.stream.XMLStreamWriter writer)- 
Methods inherited from class org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.TestDefinitionaddConfiguredListener, createFork, getExcludeEngines, getFailureProperty, getIncludeEngines, getListeners, getOutputDir, isHaltOnFailure, setExcludeEngines, setFailureProperty, setHaltOnFailure, setIf, setIncludeEngines, setOutputDir, setUnless, shouldRun
 
- 
 
- 
- 
- 
Method Detail- 
setNamepublic void setName(java.lang.String test) 
 - 
getNamepublic java.lang.String getName() 
 - 
setMethodspublic void setMethods(java.lang.String methods) 
 - 
getMethodspublic java.lang.String[] getMethods() 
 - 
toForkedRepresentationprotected void toForkedRepresentation(JUnitLauncherTask task, javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException - Specified by:
- toForkedRepresentationin class- TestDefinition
- Throws:
- javax.xml.stream.XMLStreamException
 
 - 
fromForkedRepresentationpublic static TestDefinition fromForkedRepresentation(javax.xml.stream.XMLStreamReader reader) throws javax.xml.stream.XMLStreamException - Throws:
- javax.xml.stream.XMLStreamException
 
 
- 
 
-