if (a == Arg.PROPS)
{
Properties bP = Cache.bootstrapProperties(b.get(Arg.PROPS));
+ Assert.assertNotNull(bP);
Assert.assertTrue(other.equals(bP.get(Cache.BOOTSTRAP_TEST)));
Assert.assertFalse(bP.contains("NOT" + Cache.BOOTSTRAP_TEST));
}
@DataProvider(name = "argLines")
public Object[][] argLines()
{
- return new Object[][] {
+ return new Object[][] { {
+ "--open=test/jalview/bin/argparser/testfiles/test1.fa --props=test/jalview/bin/argparser/testfiles/testProps.jvprops",
+ Arg.PROPS, "true" },
{ "--debug --open=test/jalview/bin/argparser/testfiles/test1.fa",
Arg.DEBUG, null },
{ "--open=test/jalview/bin/argparser/testfiles/test1.fa --headless",
Arg.HEADLESS, null },
- { "--open=test/jalview/bin/argparser/testfiles/test1.fa --props=test/jalview/bin/argparser/testfiles/testProps.jvprops",
- Arg.PROPS, "true" },
+
{ "--argfile test/jalview/bin/argparser/testfiles/argfile0.txt",
Arg.ARGFILE,
"test/jalview/bin/argparser/testfiles/argfile0.txt" },