X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fbin%2FCommandsTest2.java;h=0a47700f33afc49c93ec2f24b47b9bd1a31d2c1f;hb=31aca2e9990ff33e088faa41419bb60014a6fbcf;hp=f6b325e4ec28746126bc3bde1f28cc2e8f4f63c1;hpb=3f10c49d15b3f9a987cb62368ecf65b299d59ebc;p=jalview.git diff --git a/test/jalview/bin/CommandsTest2.java b/test/jalview/bin/CommandsTest2.java index f6b325e..0a47700 100644 --- a/test/jalview/bin/CommandsTest2.java +++ b/test/jalview/bin/CommandsTest2.java @@ -26,7 +26,7 @@ public class CommandsTest2 @BeforeClass(alwaysRun = true) public static void setUpBeforeClass() throws Exception { - Cache.loadProperties("test/jalview/bin/commandsTest2.jvprops"); + Cache.loadProperties("test/jalview/bin/commandsTest.jvprops"); Date oneHourFromNow = new Date( System.currentTimeMillis() + 3600 * 1000); Cache.setDateProperty("JALVIEW_NEWS_RSS_LASTMODIFIED", oneHourFromNow); @@ -57,7 +57,7 @@ public class CommandsTest2 @Test( groups = - { "Functional" }, + { "Functional", "testTask1" }, dataProvider = "structureOpeningArgsParams", singleThreaded = true) public void structureOpeningArgsTest(String cmdLine, int seqNum, @@ -69,7 +69,7 @@ public class CommandsTest2 try { // sleep for slow build server to open annotations and viewer windows - Thread.sleep(seqNum * 100 + annNum * 200 + viewerNum * 1500); + Thread.sleep(seqNum * 50 + annNum * 50 + viewerNum * 500); } catch (InterruptedException e) { e.printStackTrace(); @@ -101,9 +101,6 @@ public class CommandsTest2 int dcount = 0; for (AlignmentAnnotation aa : aas) { - System.err.println("##### DIAGNOSIS: annotation " + ++dcount - + " is labelled '" + aa.label + "'"); - System.err.println("# " + aa.annotationId + ": " + aa.toString()); if (aa.visible) visibleAnn++; } @@ -134,57 +131,78 @@ public class CommandsTest2 String cmdLine, int seqNum, int annNum, - int viewerNum, - String propsFile + int structureViewerNum, */ return new Object[][] { // /* */ - { "--nonews --nosplash --debug " + "--append=examples/uniref50.fa " - + "--colour=gecos:flower " + { "--gui --nonews --nosplash --debug " + + "--append=examples/uniref50.fa " + + "--colour=gecos-flower " + "--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 " - + "--colour=gecos:flower " + { "--gui --nonews --nosplash --debug " + + "--append=examples/uniref50.fa " + + "--colour=gecos-flower " + "--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 " - + "--colour=gecos:flower " + { "--gui --nonews --nosplash --debug " + + "--append=examples/uniref50.fa " + + "--colour=gecos-flower " + "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif " + "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json " - + "--nossannotations " + + "--noshowssannotations " + "--props=test/jalview/bin/commandsTest2.jvprops1 ", 15, 4, 1 }, - { "--nonews --nosplash --debug " + "--append=examples/uniref50.fa " - + "--colour=gecos:flower " + { "--gui --nonews --nosplash --debug " + + "--append=examples/uniref50.fa " + + "--colour=gecos-flower " + "--structure=[seqid=FER1_SPIOL]examples/AlphaFold/AF-P00221-F1-model_v4.cif " + "--paematrix=examples/AlphaFold/AF-P00221-F1-predicted_aligned_error_v4.json " - + "--noannotations " + + "--noshowannotations " + "--props=test/jalview/bin/commandsTest2.jvprops1 ", 15, 3, 1 }, - { "--nonews --nosplash --debug " + "--append=examples/uniref50.fa " - + "--colour=gecos:flower " + { "--gui --nonews --nosplash --debug " + + "--append=examples/uniref50.fa " + + "--colour=gecos-flower " + "--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 " + + "--noshowannotations " + "--noshowssannotations " + "--props=test/jalview/bin/commandsTest2.jvprops1 ", 15, 0, 1 }, - { "--nonews --nosplash --debug " + "--append=examples/uniref50.fa " - + "--colour=gecos:flower " + { "--gui --nonews --nosplash --debug " + + "--append=examples/uniref50.fa " + + "--colour=gecos-flower " + "--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 " + + "--noshowannotations " + "--noshowssannotations " + "--props=test/jalview/bin/commandsTest2.jvprops1 ", 15, 0, 1 }, - { "--props=test/jalview/bin/commandsTest2.jvprops --argfile=test/jalview/bin/commandsTest2.argfile1 ", + { "--gui --nonews --nosplash --debug --nowebservicediscovery --props=test/jalview/bin/commandsTest.jvprops --argfile=test/jalview/bin/commandsTest2.argfile1 ", 16, 19, 3 }, - { "--props=test/jalview/bin/commandsTest2.jvprops --argfile=test/jalview/bin/commandsTest2.argfile2 ", + { "--gui --nonews --nosplash --debug --nowebservicediscovery --props=test/jalview/bin/commandsTest.jvprops --argfile=test/jalview/bin/commandsTest2.argfile2 ", 16, 0, 2 }, + { "--gui --nonews --nosplash --debug --nowebservicediscovery --props=test/jalview/bin/commandsTest.jvprops --open=./examples/test_fab41.result/sample.a2m " + + "--allstructures " + + "--structure=./examples/test_fab41.result/test_fab41_unrelaxed_rank_1_model_3.pdb " + + "--structureviewer=none " + + "--structure=./examples/test_fab41.result/test_fab41_unrelaxed_rank_2_model_4.pdb " + + "--structure=./examples/test_fab41.result/test_fab41_unrelaxed_rank_3_model_2.pdb", + 16, 10, 0 }, + { "--gui --nonews --nosplash --debug --nowebservicediscovery --props=test/jalview/bin/commandsTest.jvprops --open=./examples/test_fab41.result/sample.a2m " + + "--allstructures " + + "--structure=./examples/test_fab41.result/test_fab41_unrelaxed_rank_1_model_3.pdb " + + "--noallstructures " + "--structureviewer=none " + + "--structure=./examples/test_fab41.result/test_fab41_unrelaxed_rank_2_model_4.pdb " + + "--structure=./examples/test_fab41.result/test_fab41_unrelaxed_rank_3_model_2.pdb", + 16, 10, 2 }, + /* + */ // }; }