KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > quilt > runner > RunnerConst


1 /* RunnerConst.java */
2
3 package org.quilt.runner;
4
5 public interface RunnerConst {
6     
7     /** All tests in suite succeeded. */
8     public static final int SUCCESS = 0;
9     
10     /** One or more tests failed (or an error occurred). */
11     public static final int FAILURES = 1;
12     
13     /** An unexpected error occurred. */
14     public static final int ERRORS = 2;
15
16     /**
17      * Lines containing these substrings will be filtered if
18      * filtertrace == true
19      */

20     public static final String JavaDoc[] DEFAULT_TRACE_FILTERS = new String JavaDoc[] {
21         "java.lang.reflect.Method.invoke(",
22         
23         // legacy -- Quilt doesn't actually use these
24
"junit.awtui.TestRunner",
25         "junit.swingui.TestRunner",
26         "junit.textui.TestRunner",
27
28         "junit.framework.TestCase",
29         "junit.framework.TestResult",
30         "junit.framework.TestSuite",
31         // notice the . -- AssertionFailure not filtered
32
"junit.framework.Assert.",
33
34         "org.apache.tools.ant.",
35         "org.quilt"
36     };
37 }
38
Popular Tags