org.apache.tools.ant.taskdefs.optional.junit

Class JUnitTask.ForkMode

public static final class JUnitTask.ForkMode extends EnumeratedAttribute

These are the different forking options

Since: 1.6.2

Field Summary
static StringONCE
fork once only
static StringPER_BATCH
fork once per batch of tests
static StringPER_TEST
fork once per test class
Constructor Summary
ForkMode()
No arg constructor.
ForkMode(String value)
Constructor using a value.
Method Summary
String[]getValues()
{@inheritDoc}.

Field Detail

ONCE

public static final String ONCE
fork once only

PER_BATCH

public static final String PER_BATCH
fork once per batch of tests

PER_TEST

public static final String PER_TEST
fork once per test class

Constructor Detail

ForkMode

public ForkMode()
No arg constructor.

ForkMode

public ForkMode(String value)
Constructor using a value.

Parameters: value the value to use - once, perTest or perBatch.

Method Detail

getValues

public String[] getValues()
{@inheritDoc}.