logVmExit(feArray, test, "Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.", testCase);
logVmExit(
feArray, test,
"Forked Java VM exited abnormally. Please note the time in the report"
+ " does not reflect the time until the VM exit.",
testCase);
}
}
/**
/**
@@ -1491,6 +1510,8 @@ public class JUnitTask extends Task {
}
}
/**
/**
* Get the command line used to run the tests.
* @return the command line.
* @since Ant 1.6.2
* @since Ant 1.6.2
*/
*/
protected CommandlineJava getCommandline() {
protected CommandlineJava getCommandline() {
@@ -1596,15 +1617,21 @@ public class JUnitTask extends Task {
*/
*/
public static final String PER_BATCH = "perBatch";
public static final String PER_BATCH = "perBatch";
/** No arg constructor. */
public ForkMode() {
public ForkMode() {
super();
super();
}
}
/**
* Constructor using a value.
* @param value the value to use - once, perTest or perBatch.
*/
public ForkMode(String value) {
public ForkMode(String value) {
super();
super();
setValue(value);
setValue(value);
}
}
/** {@inheritDoc}. */
public String[] getValues() {
public String[] getValues() {
return new String[] {ONCE, PER_TEST, PER_BATCH};
return new String[] {ONCE, PER_TEST, PER_BATCH};
}
}
@@ -1615,7 +1642,9 @@ public class JUnitTask extends Task {
* if the runIndividual argument is true. Returns a collection of
* if the runIndividual argument is true. Returns a collection of
* lists of tests that share the same VM configuration and haven't
* lists of tests that share the same VM configuration and haven't
* been executed yet.
* been executed yet.
*
* @param testList the list of tests to be executed or queued.
* @param runIndividual if true execute each test individually.
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.