01: /* MockTestRunner.java */
02:
03: package org.quilt.textui;
04:
05: import java.util.Vector;
06:
07: import org.quilt.framework.QuiltTest;
08: import org.quilt.runner.*;
09:
10: /** Minimal test runner; just echoes the test description. */
11:
12: public class MockTestRunner extends Textui implements RunnerConst {
13:
14: public MockTestRunner() {
15: }
16:
17: public static void main(String[] args) {
18: System.exit(new MockTestRunner().handleArgs(args));
19: }
20:
21: int runWithIt(QuiltTest qt, Vector myFormatters) {
22: int fmtCount = myFormatters.size();
23: System.out.println("==== MockTestRunner ====\n"
24: + " there are " + fmtCount + " formatters\n" + qt);
25: return SUCCESS;
26: }
27: }
|