01: package experiments;
02:
03: import junit.framework.TestCase;
04:
05: /**
06: * A test with some dummy tests taking varying amounts of time for
07: * Jumble heuristic testing.
08: * @author Tin
09: * @version $Revision: 74 $
10: */
11: public class TimedTests extends TestCase {
12: public final void testMedium() throws Exception {
13: System.out.println("Medium");
14: Thread.sleep(1000);
15: }
16:
17: public final void testLong() throws Exception {
18: System.out.println("Long");
19: Thread.sleep(10000);
20: }
21:
22: public final void testShort() {
23: System.out.println("Short");
24: }
25: }
|