X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fbin%2FHiDPISettingTest2.java;h=6812bce6306035b1227257ad4f0ddebe3297baaf;hb=ddb6c7bd0ec05ecafb6cd6056efa696db7c96ba2;hp=f1630bb05bc201bf0ae25b7541e014480dd53f85;hpb=bcc114c5106c3cee78db99955fee2392edece7df;p=jalview.git diff --git a/test/jalview/bin/HiDPISettingTest2.java b/test/jalview/bin/HiDPISettingTest2.java index f1630bb..6812bce 100644 --- a/test/jalview/bin/HiDPISettingTest2.java +++ b/test/jalview/bin/HiDPISettingTest2.java @@ -129,7 +129,7 @@ public class HiDPISettingTest2 String classpath = getClassPath(); String cmd = java_exe + " " + " -classpath " + classpath + " " + jvmArgs + " jalview.bin.Jalview " + " " - + "-props test/jalview/bin/hidpiTestProps.jvprops " + appArgs; + + "--props=test/jalview/bin/hidpiTestProps.jvprops " + appArgs; Process proc = null; Worker worker = null; try @@ -171,7 +171,7 @@ public class HiDPISettingTest2 String jvmArgs = HiDPISetting.getScalePropertyArg(scale); - String appArgs = " -open examples/uniref50.fa -nosplash -nonews -noquestionnaire -nousagestats -nowebservicediscovery --debug"; + String appArgs = " --open examples/uniref50.fa --nosplash --nonews --noquestionnaire --nousagestats --nowebservicediscovery"; Worker worker = getJalviewDesktopRunner(jvmArgs, appArgs); assertNotNull(worker, "worker is null"); @@ -183,7 +183,7 @@ public class HiDPISettingTest2 { while ((ln = worker.getErrorReader().readLine()) != null) { - if (++count > 100) + if (++count > 150) { break; }