public class MxJUnitWrapper extends Object
Constructor and Description |
---|
MxJUnitWrapper() |
Modifier and Type | Method and Description |
---|---|
private static void |
expandArg(String filename,
List<String> args)
Add each line from
filename to the list args . |
private static String[] |
expandArgs(String[] args)
Expand any arguments starting with @ and return the resulting argument array.
|
static List<String> |
getProcessCommandLine()
Gets the command line for the current process.
|
static void |
main(String... args)
Run the tests contained in the classes named in the
args . |
public MxJUnitWrapper()
public static void main(String... args)
args
. A single test method
can be specified by adding #method after the class name. Only a single test can be run in
this way. If all tests run successfully, exit with a status of 0. Otherwise exit with a
status of 1. Write feedback while tests are running and write stack traces for all failed
tests after the tests all complete.args
- names of classes in which to find tests to runpublic static List<String> getProcessCommandLine()
null
if they are not
availableprivate static String[] expandArgs(String[] args)
args
-