(string[] args)
| 154 | } |
| 155 | |
| 156 | public static void Main(string[] args) |
| 157 | { |
| 158 | if (args.Length < 5) |
| 159 | { |
| 160 | Console.Error.WriteLine("Usage: PGTest <ip> <port> <user> <password> <testFile>"); |
| 161 | Environment.Exit(1); |
| 162 | } |
| 163 | |
| 164 | var tests = new Tests(); |
| 165 | tests.Connect(args[0], int.Parse(args[1]), args[2], args[3]); |
| 166 | tests.ReadTestsFromFile(args[4]); |
| 167 | |
| 168 | if (!tests.RunTests()) |
| 169 | { |
| 170 | tests.Disconnect(); |
| 171 | Environment.Exit(1); |
| 172 | } |
| 173 | tests.Disconnect(); |
| 174 | } |
| 175 | } |
nothing calls this directly
no test coverage detected