|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectucb.junit.textui
public class textui
| Field Summary | |
|---|---|
static int |
Messages
|
static int |
Silent
|
static int |
Summary
|
static int |
TestNames
|
| Constructor Summary | |
|---|---|
textui()
|
|
| Method Summary | |
|---|---|
static void |
main(String... args)
Produces the report described for runClasses, on the classes named in ARGS. |
static int |
runClasses(Class<?>... classes)
Equivalent to runClasses(Messages, CLASSES). |
static int |
runClasses(int verbosity,
Class<?>... classes)
Run all tests in CLASSES, reporting results on the standard error output, depending on VERBOSITY, which determines what is reported. |
static int |
runClasses(int verbosity,
List<Class<?>> classes)
As for runClasses (VERBOSITY, CLASSES),
but with the class list stored in a list rather than an array. |
static int |
runClasses(List<Class<?>> classes)
Equivalent to runClasses (Messages, CLASSES). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int Silent
public static final int Summary
public static final int TestNames
public static final int Messages
| Constructor Detail |
|---|
public textui()
| Method Detail |
|---|
public static int runClasses(int verbosity,
Class<?>... classes)
Silent, prints nothing.
Summary, prints the total test time and
numbers of tests run and failed.
TestNames, as for Summary, plus print names
of failing test methods.
Messages, as for TestNames, and print descriptive
message notating the error, plus its location in the test
routines.
public static int runClasses(Class<?>... classes)
runClasses(Messages, CLASSES).
public static int runClasses(int verbosity,
List<Class<?>> classes)
runClasses (VERBOSITY, CLASSES),
but with the class list stored in a list rather than an array.
public static int runClasses(List<Class<?>> classes)
runClasses (Messages, CLASSES).
public static void main(String... args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||