X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fdatamodel%2FAllRowsIteratorTest.java;h=9f4c65b644667ca2caff724758549d5e72b62182;hb=31aca2e9990ff33e088faa41419bb60014a6fbcf;hp=aeff71d036016bcfe365406f67d7edc426fc92ac;hpb=136c0793b90b72b928c4d77dc109dd5c644e00d3;p=jalview.git diff --git a/test/jalview/datamodel/AllRowsIteratorTest.java b/test/jalview/datamodel/AllRowsIteratorTest.java index aeff71d..9f4c65b 100644 --- a/test/jalview/datamodel/AllRowsIteratorTest.java +++ b/test/jalview/datamodel/AllRowsIteratorTest.java @@ -36,7 +36,7 @@ public class AllRowsIteratorTest Hashtable hiddenRepSequences = new Hashtable<>(); - @BeforeClass + @BeforeClass(alwaysRun = true) public void setup() { // create random alignment @@ -69,8 +69,10 @@ public class AllRowsIteratorTest * Test iterator throws NoSuchElementException at end of iteration */ @Test( - groups = { "Functional" }, - expectedExceptions = { NoSuchElementException.class }) + groups = + { "Functional" }, + expectedExceptions = + { NoSuchElementException.class }) public void testLastNext() throws NoSuchElementException { AllRowsIterator it = new AllRowsIterator(0, 3, al); @@ -85,15 +87,16 @@ public class AllRowsIteratorTest * Test iterator throws UnsupportedOperationException on call to remove */ @Test( - groups = { "Functional" }, - expectedExceptions = { UnsupportedOperationException.class }) + groups = + { "Functional" }, + expectedExceptions = + { UnsupportedOperationException.class }) public void testRemove() throws UnsupportedOperationException { AllRowsIterator it = new AllRowsIterator(0, 3, al); it.remove(); } - /* * Hide sequences between start and end */