X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fbin%2FHiDPISettingTest2.java;h=6812bce6306035b1227257ad4f0ddebe3297baaf;hb=a73dbb370e06bfaae2caf3487fde655d9b177045;hp=71d13d0cfe8aa45b0f9325bdce6a5ad065c47079;hpb=2a8d711e20ae8777b73d0e44da8533cf7389ab06;p=jalview.git diff --git a/test/jalview/bin/HiDPISettingTest2.java b/test/jalview/bin/HiDPISettingTest2.java index 71d13d0..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 @@ -162,7 +162,7 @@ public class HiDPISettingTest2 @Test(groups = { "Functional" }, dataProvider = "hidpiScaleArguments") public void testHiDPISettings(int scale) { - if (Platform.isLinux()) + if (!Platform.isLinux()) { throw new SkipException( "Not linux platform, not testing actual scaling with " @@ -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; }