X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fdatamodel%2FAllColsIteratorTest.java;fp=test%2Fjalview%2Fdatamodel%2FAllColsIteratorTest.java;h=3394794cbf0f4045e30ddaf556b37b7eace1e55f;hb=3459a8a691cb22508d7067f240b7254e588e77d3;hp=0dfcc21c826a8daa118456bb908923eec04ae0ca;hpb=5b27f1062b2203c4c31702e205f4c78e1992063e;p=jalview.git diff --git a/test/jalview/datamodel/AllColsIteratorTest.java b/test/jalview/datamodel/AllColsIteratorTest.java index 0dfcc21..3394794 100644 --- a/test/jalview/datamodel/AllColsIteratorTest.java +++ b/test/jalview/datamodel/AllColsIteratorTest.java @@ -30,14 +30,13 @@ import org.testng.annotations.Test; public class AllColsIteratorTest { HiddenColumns hiddenCols; - + @BeforeClass(alwaysRun = true) public void setup() { hiddenCols = new HiddenColumns(); hiddenCols.hideColumns(2, 4); } - /* * Test iterator iterates through collection correctly @@ -59,8 +58,10 @@ public class AllColsIteratorTest * Test iterator throws NoSuchElementException at end of iteration */ @Test( - groups = { "Functional" }, - expectedExceptions = { NoSuchElementException.class }) + groups = + { "Functional" }, + expectedExceptions = + { NoSuchElementException.class }) public void testLastNext() throws NoSuchElementException { AllColsIterator it = new AllColsIterator(0, 3, hiddenCols); @@ -75,8 +76,10 @@ public class AllColsIteratorTest * Test iterator throws UnsupportedOperationException on call to remove */ @Test( - groups = { "Functional" }, - expectedExceptions = { UnsupportedOperationException.class }) + groups = + { "Functional" }, + expectedExceptions = + { UnsupportedOperationException.class }) public void testRemove() throws UnsupportedOperationException { AllColsIterator it = new AllColsIterator(0, 3, hiddenCols);