public void parseAutoIndexAndSubstitutionsTest(String commandLineArgs,
String linkedId, Arg a, String filename)
{
- // { "--append=filename0 --increment --append=filename1", "JALVIEW:1",
+ // { "--append=filename0 --newframe --append=filename1", "JALVIEW:1",
// Arg.OPEN, "filename1" },
String[] args = commandLineArgs.split("\\s+");
ArgParser argparser = new ArgParser(args);
*/
{ "--append=filename0 --append=filename1", "JALVIEW:0", Arg.APPEND,
"filename0" },
- { "--append=filename0 --increment --append=filename1", "JALVIEW:1",
+ { "--append=filename0 --newframe --append=filename1", "JALVIEW:1",
Arg.APPEND, "filename1" },
- { "--append=filename0 --increment --increment --append=filename2",
+ { "--append=filename0 --newframe --newframe --append=filename2",
"JALVIEW:0", Arg.APPEND, "filename0" },
- { "--append=filename0 --increment --increment --append=filename2",
+ { "--append=filename0 --newframe --newframe --append=filename2",
"JALVIEW:2", Arg.APPEND, "filename2" },
{ "--append[linkA-{n}]=filenameA0 --append[linkA-{++n}]=filenameA1",
"linkA-0", Arg.APPEND, "filenameA0" },
"linkH-0", Arg.IMAGE, "output-H0.txt" },
{ "--open=filename0 --append=filename1", "JALVIEW:1", Arg.OPEN,
"filename0" },
- { "--open=filename0 --increment --append=filename1", "JALVIEW:2",
+ { "--open=filename0 --newframe --append=filename1", "JALVIEW:2",
Arg.APPEND, "filename1" },
- { "--open=filename0 --increment --increment --append=filename2",
+ { "--open=filename0 --newframe --newframe --append=filename2",
"JALVIEW:1", Arg.OPEN, "filename0" },
- { "--open=filename0 --increment --increment --append=filename2",
+ { "--open=filename0 --newframe --newframe --append=filename2",
"JALVIEW:3", Arg.APPEND, "filename2" },
{ "--open[linkA-{n}]=filenameA0 --append[linkA-{++n}]=filenameA1",
"linkA-0", Arg.OPEN, "filenameA0" },