JAL-931 - groovy test harness code.
[jalview.git] / examples / groovy / JvLoadTestHarness.groovy
1 // You need to add the groovy directory to the class path from the script window\r
2 // or add the groovy directory to the java classpath when running Jalview\r
3 \r
4 jvtst = new JvLoadTester().newJvLoadTest('D:\\fooTest.jar');\r
5 try { jvtst.TestForAll('D:\\e6-workspace\\Jalview RNA\\examples\\rna\\rfamSml') } \r
6 catch (OutOfMemoryError e) { \r
7 // inspect jvtst to find out what file + file index it was on\r
8 }\r
9 // Terminate Jalview - useful if running from command line\r
10 if (Jalview.isInBatchMode()) {\r
11  Jalview.quit() \r
12 }