01: /* RunnerConst.java */
02:
03: package org.quilt.runner;
04:
05: public interface RunnerConst {
06:
07: /** All tests in suite succeeded. */
08: public static final int SUCCESS = 0;
09:
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[] DEFAULT_TRACE_FILTERS = new String[] {
21: "java.lang.reflect.Method.invoke(",
22:
23: // legacy -- Quilt doesn't actually use these
24: "junit.awtui.TestRunner", "junit.swingui.TestRunner",
25: "junit.textui.TestRunner",
26:
27: "junit.framework.TestCase", "junit.framework.TestResult",
28: "junit.framework.TestSuite",
29: // notice the . -- AssertionFailure not filtered
30: "junit.framework.Assert.",
31:
32: "org.apache.tools.ant.", "org.quilt" };
33: }
|