JAL-629 Added --opened arg which is like limiting --all to only the previously -...
[jalview.git] / test / jalview / bin / argparser / ArgParserTest.java
index 17f19b7..259acac 100644 (file)
@@ -273,7 +273,7 @@ public class ArgParserTest
 
   @Test(groups = "Functional", dataProvider = "allLinkedIdsData")
   public void allLinkedIdsTest(String commandLineArgs, Arg a,
-          String[] values)
+          String[] values, String[] nonvalues)
   {
     String[] args = commandLineArgs.split("\\s+");
     ArgParser argparser = new ArgParser(args);
@@ -316,18 +316,20 @@ public class ArgParserTest
         */
         { "--open=test/jalview/bin/argparser/testfiles/*.fa --substitutions --all --image={dirname}/{basename}.png --close",
             Arg.CLOSE, new String[]
-            { null, null,
-                null } },
+            { null, null, null },
+            null },
         { "--open=test/jalview/bin/argparser/testfiles/*.fa --substitutions --all --output={dirname}/{basename}.stk --close",
             Arg.OUTPUT, new String[]
             { "test/jalview/bin/argparser/testfiles/test1.stk",
                 "test/jalview/bin/argparser/testfiles/test2.stk",
-                "test/jalview/bin/argparser/testfiles/test3.stk", } },
+                "test/jalview/bin/argparser/testfiles/test3.stk", },
+            null },
         { "--open=test/jalview/bin/argparser/testfiles/*.fa --substitutions --all --image={dirname}/{basename}.png --close",
             Arg.IMAGE, new String[]
             { "test/jalview/bin/argparser/testfiles/test1.png",
                 "test/jalview/bin/argparser/testfiles/test2.png",
-                "test/jalview/bin/argparser/testfiles/test3.png", } },
+                "test/jalview/bin/argparser/testfiles/test3.png", },
+            null },
         //
     };
   }