Date oneHourFromNow = new Date(
System.currentTimeMillis() + 3600 * 1000);
Cache.setDateProperty("JALVIEW_NEWS_RSS_LASTMODIFIED", oneHourFromNow);
Date oneHourFromNow = new Date(
System.currentTimeMillis() + 3600 * 1000);
Cache.setDateProperty("JALVIEW_NEWS_RSS_LASTMODIFIED", oneHourFromNow);
- { "Functional" },
- dataProvider = "structureOpeningArgsParams")
+ { "Functional", "testTask1" },
+ dataProvider = "structureOpeningArgsParams",
+ singleThreaded = true)
public void structureOpeningArgsTest(String cmdLine, int seqNum,
int annNum, int viewerNum)
{
String[] args = cmdLine.split("\\s+");
Jalview.main(args);
public void structureOpeningArgsTest(String cmdLine, int seqNum,
int annNum, int viewerNum)
{
String[] args = cmdLine.split("\\s+");
Jalview.main(args);
AlignFrame[] afs = Desktop.getAlignFrames();
Assert.assertNotNull(afs);
Assert.assertTrue(afs.length > 0);
AlignFrame[] afs = Desktop.getAlignFrames();
Assert.assertNotNull(afs);
Assert.assertTrue(afs.length > 0);
List<StructureViewerBase> openViewers = Desktop.instance
.getStructureViewers(ap, null);
Assert.assertNotNull(openViewers);
List<StructureViewerBase> openViewers = Desktop.instance
.getStructureViewers(ap, null);
Assert.assertNotNull(openViewers);
- Assert.assertEquals(openViewers.size(), viewerNum,
+ int count = 0;
+ for (StructureViewerBase svb : openViewers)
+ {
+ if (svb.isVisible())
+ count++;
+ }
+ Assert.assertEquals(count, viewerNum,
+ "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif "
+ "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json "
+ "--props=test/jalview/bin/commandsTest2.jvprops1 ",
15, 7, 1 },
{ "--nonews --nosplash --debug " + "--append=examples/uniref50.fa "
+ "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif "
+ "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json "
+ "--props=test/jalview/bin/commandsTest2.jvprops1 ",
15, 7, 1 },
{ "--nonews --nosplash --debug " + "--append=examples/uniref50.fa "
+ "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif "
+ "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json "
+ "--props=test/jalview/bin/commandsTest2.jvprops2 ",
15, 4, 1 },
{ "--nonews --nosplash --debug " + "--append=examples/uniref50.fa "
+ "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif "
+ "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json "
+ "--props=test/jalview/bin/commandsTest2.jvprops2 ",
15, 4, 1 },
{ "--nonews --nosplash --debug " + "--append=examples/uniref50.fa "
+ "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif "
+ "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json "
+ "--nossannotations "
+ "--props=test/jalview/bin/commandsTest2.jvprops1 ",
15, 4, 1 },
{ "--nonews --nosplash --debug " + "--append=examples/uniref50.fa "
+ "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif "
+ "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json "
+ "--nossannotations "
+ "--props=test/jalview/bin/commandsTest2.jvprops1 ",
15, 4, 1 },
{ "--nonews --nosplash --debug " + "--append=examples/uniref50.fa "
+ "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif "
+ "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json "
+ "--noannotations "
+ "--props=test/jalview/bin/commandsTest2.jvprops1 ",
15, 3, 1 },
{ "--nonews --nosplash --debug " + "--append=examples/uniref50.fa "
+ "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif "
+ "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json "
+ "--noannotations "
+ "--props=test/jalview/bin/commandsTest2.jvprops1 ",
15, 3, 1 },
{ "--nonews --nosplash --debug " + "--append=examples/uniref50.fa "
+ "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif "
+ "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json "
+ "--noannotations " + "--nossannotations "
+ "--props=test/jalview/bin/commandsTest2.jvprops1 ",
15, 0, 1 },
{ "--nonews --nosplash --debug " + "--append=examples/uniref50.fa "
+ "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif "
+ "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json "
+ "--noannotations " + "--nossannotations "
+ "--props=test/jalview/bin/commandsTest2.jvprops1 ",
15, 0, 1 },
{ "--nonews --nosplash --debug " + "--append=examples/uniref50.fa "
+ "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif "
+ "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json "
+ "--noannotations " + "--nossannotations "
+ "--props=test/jalview/bin/commandsTest2.jvprops1 ",
15, 0, 1 },
+ "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif "
+ "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json "
+ "--noannotations " + "--nossannotations "
+ "--props=test/jalview/bin/commandsTest2.jvprops1 ",
15, 0, 1 },
- { "--argfile=test/jalview/bin/commandsTest2.argfile1 ", 16, 19, 3 },
- { "--argfile=test/jalview/bin/commandsTest2.argfile2 ", 16, 0, 2 },
+ { "--nonews --nosplash --debug --nowebservicediscovery --props=test/jalview/bin/commandsTest.jvprops --argfile=test/jalview/bin/commandsTest2.argfile1 ",
+ 16, 19, 3 },
+ { "--nonews --nosplash --debug --nowebservicediscovery --props=test/jalview/bin/commandsTest.jvprops --argfile=test/jalview/bin/commandsTest2.argfile2 ",
+ 16, 0, 2 },