Class TestDefinition
java.lang.Object
org.apache.tools.ant.taskdefs.optional.junitlauncher.confined.TestDefinition
- Direct Known Subclasses:
SingleTestClass
,TestClasses
Represents the configuration details of a test that needs to be launched by the
JUnitLauncherTask
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected ForkDefinition
protected Boolean
protected String
protected String
protected List
<ListenerDefinition> protected File
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addConfiguredListener
(ListenerDefinition listener) String[]
String[]
boolean
void
setExcludeEngines
(String excludeEngines) void
setFailureProperty
(String failureProperty) void
setHaltOnFailure
(boolean haltonfailure) void
void
setIncludeEngines
(String includeEngines) void
setOutputDir
(File dir) void
protected boolean
protected abstract List
<TestDefinition.ForkedRepresentation>
-
Field Details
-
ifProperty
-
unlessProperty
-
haltOnFailure
-
failureProperty
-
outputDir
-
includeEngines
-
excludeEngines
-
forkDefinition
-
listeners
-
-
Constructor Details
-
TestDefinition
public TestDefinition()
-
-
Method Details
-
setIf
-
setUnless
-
isHaltOnFailure
public boolean isHaltOnFailure() -
setHaltOnFailure
public void setHaltOnFailure(boolean haltonfailure) -
getFailureProperty
-
setFailureProperty
-
addConfiguredListener
-
getListeners
-
setOutputDir
-
getOutputDir
-
createFork
-
shouldRun
-
getIncludeEngines
-
setIncludeEngines
-
getExcludeEngines
-
setExcludeEngines
-
toForkedRepresentations
protected abstract List<TestDefinition.ForkedRepresentation> toForkedRepresentations() throws IllegalStateException- Throws:
IllegalStateException
-