Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static Application chooseAppTest(String[] args)
- {
- Application application = null;
- switch (Application.valueOf(args[0]))
- {
- case ACCOUNTINVENTORY:
- new AccountInventory(Environment.valueOf(args[1]));
- AccountInventory.accountInventoryDatabaseTests(testResults);
- break;
- public static void main(String[] args)
- {
- // run tests and collect results
- if (args.length == 0)
- {
- LogIn.loginTest(testResults);
- DatabaseTest.testResults(testResults);
- LinkTest.linkTests(testResults);
- }
- else
- {
- // First choose application, then choose environment
- Application.chooseAppTest(args);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement