public static final class JUnitTask.ForkMode extends EnumeratedAttribute
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ONCE |
fork once only
|
static java.lang.String |
PER_BATCH |
fork once per batch of tests
|
static java.lang.String |
PER_TEST |
fork once per test class
|
value
Constructor | Description |
---|---|
ForkMode() |
No arg constructor.
|
ForkMode(java.lang.String value) |
Constructor using a value.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String[] |
getValues() |
This is the only method a subclass needs to implement.
|
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
public static final java.lang.String ONCE
public static final java.lang.String PER_TEST
public static final java.lang.String PER_BATCH
public ForkMode()
public ForkMode(java.lang.String value)
value
- the value to use - once, perTest or perBatch.public java.lang.String[] getValues()
getValues
in class EnumeratedAttribute