(String[] args)
| 118 | } |
| 119 | |
| 120 | public static void main(String[] args) { |
| 121 | if (args.length < 5) { |
| 122 | System.err.println("Usage: java MySQLTest <ip> <port> <user> <password> <testFile>"); |
| 123 | System.exit(1); |
| 124 | } |
| 125 | |
| 126 | Tests tests = new Tests(); |
| 127 | tests.connect(args[0], Integer.parseInt(args[1]), args[2], args[3]); |
| 128 | tests.readTestsFromFile(args[4]); |
| 129 | |
| 130 | if (!tests.runTests()) { |
| 131 | tests.disconnect(); |
| 132 | System.exit(1); |
| 133 | } |
| 134 | tests.disconnect(); |
| 135 | } |
| 136 | } |
nothing calls this directly
no test coverage detected