JAL-629 better test fixes. --props=... instead of --debug
[jalview.git] / test / jalview / bin / CommandLineOperations.java
index cf21c3a..a9b7640 100644 (file)
@@ -225,9 +225,9 @@ public class CommandLineOperations
   public void setUpForHeadlessCommandLineInputOperations()
           throws IOException
   {
-    String cmds = "nodisplay -open examples/uniref50.fa -sortbytree -props test/jalview/bin/testProps.jvprops -colour zappo "
+    String cmds = "nodisplay -open examples/uniref50.fa -sortbytree --props=test/jalview/bin/testProps.jvprops -colour zappo "
             + "-jabaws http://www.compbio.dundee.ac.uk/jabaws -nosortbytree "
-            + "-features examples/testdata/plantfdx.features -annotations examples/testdata/plantfdx.annotations -tree examples/testdata/uniref50_test_tree --debug";
+            + "-features examples/testdata/plantfdx.features -annotations examples/testdata/plantfdx.annotations -tree examples/testdata/uniref50_test_tree";
     Worker worker = getJalviewDesktopRunner(true, cmds, SETUP_TIMEOUT);
     String ln = null;
     while ((ln = worker.getOutputReader().readLine()) != null)
@@ -244,7 +244,7 @@ public class CommandLineOperations
   @BeforeTest(alwaysRun = true)
   public void setUpForCommandLineInputOperations() throws IOException
   {
-    String cmds = "-open examples/uniref50.fa -noquestionnaire -nousagestats --debug";
+    String cmds = "-open examples/uniref50.fa -noquestionnaire -nousagestats";
     final Worker worker = getJalviewDesktopRunner(false, cmds,
             SETUP_TIMEOUT);
 
@@ -345,7 +345,7 @@ public class CommandLineOperations
         { "CMD [-color zappo] executed successfully!",
             "Failed command : -color zappo" },
         { "CMD [-props test/jalview/bin/testProps.jvprops] executed successfully!",
-            "Failed command : -props File" },
+            "Failed command : --props=File" },
         { "CMD [-sortbytree] executed successfully!",
             "Failed command : -sortbytree" },
         { "CMD [-jabaws http://www.compbio.dundee.ac.uk/jabaws] executed successfully!",