X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fdatamodel%2FVisibleRowsIteratorTest.java;h=32c6b2d602a2caeb77d7bc5ad64ef7e06e4ea492;hb=704baca645bf14c607a8a4bede678253a50e7123;hp=da93dab00fe30f56537b3d695114f814e4951ac4;hpb=2ca081eebf90c6731cd79bde140ca2fecc9c9644;p=jalview.git diff --git a/test/jalview/datamodel/VisibleRowsIteratorTest.java b/test/jalview/datamodel/VisibleRowsIteratorTest.java index da93dab..32c6b2d 100644 --- a/test/jalview/datamodel/VisibleRowsIteratorTest.java +++ b/test/jalview/datamodel/VisibleRowsIteratorTest.java @@ -42,7 +42,7 @@ public class VisibleRowsIteratorTest Hashtable hiddenRepSequences2 = new Hashtable(); - @BeforeClass + @BeforeClass(groups = { "Functional" }) public void setup() { // create random alignment @@ -137,8 +137,10 @@ public class VisibleRowsIteratorTest * when alignment has hidden rows */ @Test( - groups = { "Functional" }, - expectedExceptions = { NoSuchElementException.class }) + groups = + { "Functional" }, + expectedExceptions = + { NoSuchElementException.class }) public void testLastNextWithHidden() throws NoSuchElementException { VisibleRowsIterator it = new VisibleRowsIterator(0, 3, al); @@ -154,8 +156,10 @@ public class VisibleRowsIteratorTest * when alignment has no hidden rows */ @Test( - groups = { "Functional" }, - expectedExceptions = { NoSuchElementException.class }) + groups = + { "Functional" }, + expectedExceptions = + { NoSuchElementException.class }) public void testLastNextNoHidden() throws NoSuchElementException { VisibleRowsIterator it = new VisibleRowsIterator(0, 3, al3); @@ -171,8 +175,10 @@ public class VisibleRowsIteratorTest * when alignment has hidden rows at start */ @Test( - groups = { "Functional" }, - expectedExceptions = { NoSuchElementException.class }) + groups = + { "Functional" }, + expectedExceptions = + { NoSuchElementException.class }) public void testLastNextStartHidden() throws NoSuchElementException { VisibleRowsIterator it = new VisibleRowsIterator(0, 3, al2); @@ -188,8 +194,10 @@ public class VisibleRowsIteratorTest * when alignment has hidden rows at end */ @Test( - groups = { "Functional" }, - expectedExceptions = { NoSuchElementException.class }) + groups = + { "Functional" }, + expectedExceptions = + { NoSuchElementException.class }) public void testLastNextEndHidden() throws NoSuchElementException { VisibleRowsIterator it = new VisibleRowsIterator(0, 4, al); @@ -204,8 +212,10 @@ public class VisibleRowsIteratorTest * Test calls to remove throw UnsupportedOperationException */ @Test( - groups = { "Functional" }, - expectedExceptions = { UnsupportedOperationException.class }) + groups = + { "Functional" }, + expectedExceptions = + { UnsupportedOperationException.class }) public void testRemove() throws UnsupportedOperationException { VisibleRowsIterator it = new VisibleRowsIterator(0, 3, al);