1 package test.org.relique.jdbc.csv;
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(TestSqlParser.class);
13 suite.addTestSuite(TestCsvDriver.class);
14 return suite;
15 }
16
17 public static void main(String[] args)
18 {
19 // set the file location as a property so that it is easy to pass around
20 System.setProperty(TestCsvDriver.SAMPLE_FILES_LOCATION_PROPERTY,args[0]);
21
22 // get the driver manager to log to sysout
23 //DriverManager.setLogWriter( new PrintWriter(System.out));
24
25 // kick off the tests. Note call main() instead of run() so that error codes
26 // are returned so that they can be trapped by ant
27 junit.textui.TestRunner.main(new String[]{"test.org.relique.jdbc.csv.RunTests"});
28 }
29 }
This page automatically generated by Maven