JAL-629 JAL-4167 Added args to tests. Fixed potential --headless arg bug. Added testT...
[jalview.git] / test / jalview / bin / CommandsTest2.java
index 535eb78..29fbc86 100644 (file)
@@ -57,7 +57,7 @@ public class CommandsTest2
 
   @Test(
     groups =
-    { "Functional" },
+    { "Functional", "testTask1" },
     dataProvider = "structureOpeningArgsParams",
     singleThreaded = true)
   public void structureOpeningArgsTest(String cmdLine, int seqNum,
@@ -101,9 +101,6 @@ public class CommandsTest2
     int dcount = 0;
     for (AlignmentAnnotation aa : aas)
     {
-      System.err.println("##### DIAGNOSIS: annotation " + ++dcount
-              + " is labelled '" + aa.label + "'");
-      System.err.println("# " + aa.annotationId + ": " + aa.toString());
       if (aa.visible)
         visibleAnn++;
     }
@@ -181,9 +178,9 @@ public class CommandsTest2
                 + "--noannotations " + "--nossannotations "
                 + "--props=test/jalview/bin/commandsTest2.jvprops1 ",
             15, 0, 1 },
-        { "--props=test/jalview/bin/commandsTest.jvprops --argfile=test/jalview/bin/commandsTest2.argfile1 ",
+        { "--nonews --nosplash --debug --nowebservicediscovery --props=test/jalview/bin/commandsTest.jvprops --argfile=test/jalview/bin/commandsTest2.argfile1 ",
             16, 19, 3 },
-        { "--props=test/jalview/bin/commandsTest.jvprops --argfile=test/jalview/bin/commandsTest2.argfile2 ",
+        { "--nonews --nosplash --debug --nowebservicediscovery --props=test/jalview/bin/commandsTest.jvprops --argfile=test/jalview/bin/commandsTest2.argfile2 ",
             16, 0, 2 },
         //
     };