import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
-import jalview.bin.argparser.Arg;
import jalview.gui.AlignFrame;
import jalview.gui.Desktop;
import jalview.gui.JvOptionPane;
+ testfiles + "/{basename}.png",
new String[]
{ testfiles + "/uniref50.png" } },
- { "--append examples/uniref50.fa --image " + testfiles
- + "/{basename}.png",
+ { "--append examples/uniref50.fa --nosubstitutions --image "
+ + testfiles + "/{basename}.png",
new String[]
{ testfiles + "/{basename}.png" } }
//
}
@Test(groups = "Functional", dataProvider = "allLinkedIdsData")
- public void allLinkedIdsTest(String cmdLine, Arg a, String[] filenames)
+ public void allLinkedIdsTest(String cmdLine, String[] filenames)
{
String[] args = cmdLine.split("\\s+");
Jalview.main(args);
"test/jalview/bin/argparser/testfiles/test3.stk", } },
*/
{ "--open=test/jalview/bin/argparser/testfiles/*.fa --substitutions --all --image={dirname}/{basename}.png --close",
- Arg.IMAGE, new String[]
+ new String[]
{ "test/jalview/bin/argparser/testfiles/test1.png",
"test/jalview/bin/argparser/testfiles/test2.png",
"test/jalview/bin/argparser/testfiles/test3.png", } },
+ { "--open=test/jalview/bin/argparser/testfiles/*.fa --all --output={dirname}/{basename}.stk --close",
+ new String[]
+ { "test/jalview/bin/argparser/testfiles/test1.stk",
+ "test/jalview/bin/argparser/testfiles/test2.stk",
+ "test/jalview/bin/argparser/testfiles/test3.stk", } },
//
};
}