MCPcopy Create free account
hub / github.com/apecloud/myduckserver / main

Method main

compatibility/mysql/java/MySQLTest.java:120–135  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 4

connectMethod · 0.95
readTestsFromFileMethod · 0.95
runTestsMethod · 0.95
disconnectMethod · 0.95

Tested by

no test coverage detected