Class JUnitTask.ForkMode
java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.ForkMode
- Enclosing class:
- JUnitTask
These are the different forking options
- Since:
- 1.6.2
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringfork once onlystatic final Stringfork once per batch of testsstatic final Stringfork once per test classFields inherited from class org.apache.tools.ant.types.EnumeratedAttributevalue
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.tools.ant.types.EnumeratedAttributecontainsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
- 
Field Details- 
ONCEfork once only- See Also:
 
- 
PER_TESTfork once per test class- See Also:
 
- 
PER_BATCHfork once per batch of tests- See Also:
 
 
- 
- 
Constructor Details- 
ForkModepublic ForkMode()No arg constructor.
- 
ForkModeConstructor using a value.- Parameters:
- value- the value to use - once, perTest or perBatch.
 
 
- 
- 
Method Details- 
getValuesThis is the only method a subclass needs to implement..- Specified by:
- getValuesin class- EnumeratedAttribute
- Returns:
- an array holding all possible values of the enumeration.
 The order of elements must be fixed so that indexOfValue(String)always return the same index for the same value.
 
 
-