01: /* MockTestRunner.java */
02:
03: package org.quilt.runner;
04:
05: import org.quilt.framework.QuiltTest;
06:
07: /**
08: * Echoes parameters for a given QuiltTest back to the Ant user.
09: */
10: public class MockTestRunner extends QuiltTest {
11:
12: public MockTestRunner() {
13: }
14:
15: /**
16: * Set mockTestRunner="true" or mockExec="true" in the Quilt task
17: * line in build.xml to get this output on all tests run. Example:
18: *
19: * <quilt dir="." mockTestRunner="true" haltOnError="true"&gr;
20: *
21: * @param qt The QuiltTest being run
22: */
23: public void run(QuiltTest qt) {
24:
25: System.out
26: .println(" ** MockTestRunner **\n==== QuiltTest ==== \n"
27: + qt);
28: }
29: }
|