add java driver tests

This commit is contained in:
Mahmood Ali
2018-10-31 12:19:07 -04:00
parent f7d83d7e80
commit 0022496e5b
4 changed files with 320 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
public class Hello {
public static void main(String[] args) {
System.out.println("Hello");
int seconds = 5;
if (args.length != 0) {
seconds = Integer.parseInt(args[0]);
}
try {
Thread.sleep(1000*seconds); //1000 milliseconds is one second.
} catch(InterruptedException ex) {
Thread.currentThread().interrupt();
}
}
}