KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jester > tests > TestConfiguration


1 package jester.tests;
2
3 import jester.Configuration;
4 import jester.Logger;
5
6 public class TestConfiguration implements Configuration {
7     public TestConfiguration() {
8         super();
9     }
10     public String JavaDoc compilationCommand() {
11         return "javac";
12     }
13     public boolean shouldReportEagerly() {
14         return false;
15     }
16     public String JavaDoc sourceFileExtension() {
17         return ".java";
18     }
19     public String JavaDoc testRunningCommand() {
20         unused();
21         return null;
22     }
23     public String JavaDoc testsPassString() {
24         unused();
25         return null;
26     }
27
28     public Logger getLogger() {
29         unused();
30         return null;
31     }
32
33     private void unused() {
34         throw new RuntimeException JavaDoc("TestConfiguration used for something it wasn't expecting to be used for.");
35     }
36
37     public String JavaDoc xmlReportFileName() {
38         unused();
39         return null;
40     }
41     
42     public boolean closeUIOnFinish() {
43         return false;
44     }
45
46 }
Popular Tags