1 package test.org.webdocwf.util.loader;
2
3 import junit.framework.*;
4 import java.io.*;
5 import java.sql.*;
6
7 public class RunTests
8 {
9 public static Test suite()
10 {
11 TestSuite suite= new TestSuite();
12 suite.addTestSuite(LoaderTest.class);
13 suite.addTestSuite(LoaderTest2.class);
14 suite.addTestSuite(LoaderTest3.class);
15 return suite;
16 }
17
18 public static void main(String[] args)
19 {
20 // set the file location as a property so that it is easy to pass around
21 System.setProperty(LoaderTest.DATABASE_LOCATION_PROPERTY,args[0]);
22
23
24 // kick off the tests. Note call main() instead of run() so that error codes
25 // are returned so that they can be trapped by ant
26 junit.textui.TestRunner.main(new String[]{"test.org.webdocwf.util.loader.RunTests"});
27 }
28 }
This page automatically generated by Maven