X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2Fjalview%2Fbin%2FHiDPISettingTest2.java;h=6812bce6306035b1227257ad4f0ddebe3297baaf;hb=d0aee5b0b2cbd0805c3dec027c6f2d2ac0148e66;hp=470ec358b9d068f7197a1902172567fcf2d5fb45;hpb=edbc8511bb8b075c4cae34a22a42bf141e795642;p=jalview.git diff --git a/test/jalview/bin/HiDPISettingTest2.java b/test/jalview/bin/HiDPISettingTest2.java index 470ec35..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"; + 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; }