X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fws2%2Factions%2Falignment%2FAlignmentActionTest.java;h=bc43070dfd3eed5bd28aceb46638dafb79d768c2;hb=fa1afb29f255bf8c233c5f040c3b0f8c9de957c5;hp=e57303281615a068744df1c3f0b2b3d421f71a29;hpb=d9fb3ca22c329e4818de90582277704e165f19e3;p=jalview.git diff --git a/test/jalview/ws2/actions/alignment/AlignmentActionTest.java b/test/jalview/ws2/actions/alignment/AlignmentActionTest.java index e573032..bc43070 100644 --- a/test/jalview/ws2/actions/alignment/AlignmentActionTest.java +++ b/test/jalview/ws2/actions/alignment/AlignmentActionTest.java @@ -99,7 +99,9 @@ public class AlignmentActionTest }; } - @Test(dataProvider = "multipleSequencesUnalignedAndAligned") + @Test( + groups = { "Functional" }, + dataProvider = "multipleSequencesUnalignedAndAligned") public void submitSequences_verifySequenceNamesUniquified( Alignment unaligned, Alignment aligned) throws IOException @@ -117,7 +119,9 @@ public class AlignmentActionTest hasProperty("name", is("Sequence2")))); } - @Test(dataProvider = "multipleSequencesUnalignedAndAligned") + @Test( + groups = { "Functional" }, + dataProvider = "multipleSequencesUnalignedAndAligned") public void submitSequences_submitGapsOff_verifySequencesSubmittedWithoutGaps(Alignment unaligned, Alignment aligned) throws IOException { @@ -135,7 +139,9 @@ public class AlignmentActionTest matchesSequence("ASTVLOPDTMMQEL"))); } - @Test(dataProvider = "multipleSequencesUnalignedAndAligned") + @Test( + groups = { "Functional" }, + dataProvider = "multipleSequencesUnalignedAndAligned") public void submitSequences_submitGapsOn_verifySequencesSubmittedWithGaps( Alignment unaligned, Alignment aligned) throws IOException @@ -154,7 +160,9 @@ public class AlignmentActionTest matchesSequence("AS--TVL--OPDTMMQEL------"))); } - @Test(dataProvider = "multipleSequencesUnalignedAndAligned") + @Test( + groups = { "Functional" }, + dataProvider = "multipleSequencesUnalignedAndAligned") public void retrieveResult_verifySequencesAligned( Alignment unaligned, Alignment aligned) throws IOException @@ -256,7 +264,7 @@ class AlignmentActionListenerNotifiedTest extends AlignmentActionTest }; } - @Test + @Test(groups = { "Functional" }) public void allJobsStarted_taskStartedCalled() throws IOException { @@ -265,7 +273,7 @@ class AlignmentActionListenerNotifiedTest extends AlignmentActionTest verify(mockListener).taskStarted(any(), anyList()); } - @Test + @Test(groups = { "Functional" }) public void allJobsStarted_taskStatusChangedCalledWithReadyThenSubmitted() throws IOException { @@ -276,7 +284,7 @@ class AlignmentActionListenerNotifiedTest extends AlignmentActionTest inOrder.verify(mockListener).taskStatusChanged(any(), eq(JobStatus.SUBMITTED)); } - @Test(dataProvider = "jobStatuses") + @Test(groups = { "Functional" }, dataProvider = "jobStatuses") public void jobStatusChanged_taskStatusChangedCalledWithJobStatus(JobStatus status) throws IOException { @@ -287,7 +295,7 @@ class AlignmentActionListenerNotifiedTest extends AlignmentActionTest verify(mockListener).taskStatusChanged(any(), eq(status)); } - @Test(dataProvider = "jobStatuses") + @Test(groups = { "Functional" }, dataProvider = "jobStatuses") public void jobStatusChanged_subJobStatusChangedCalledWithJobStatus(JobStatus status) throws IOException {