git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-4124 comment out incomplete test bits.. for now
[jalview.git]
/
test
/
jalview
/
datamodel
/
AllColsIteratorTest.java
diff --git
a/test/jalview/datamodel/AllColsIteratorTest.java
b/test/jalview/datamodel/AllColsIteratorTest.java
index
3942f0b
..
3394794
100644
(file)
--- 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;
public class AllColsIteratorTest
{
HiddenColumns hiddenCols;
-
- @BeforeClass
+
+ @BeforeClass(alwaysRun = true)
public void setup()
{
hiddenCols = new HiddenColumns();
public void setup()
{
hiddenCols = new HiddenColumns();
- hiddenCols.hideColumns(2,4);
+ hiddenCols.hideColumns(2, 4);
}
}
-
/*
* Test iterator iterates through collection correctly
/*
* Test iterator iterates through collection correctly
@@
-59,8
+58,10
@@
public class AllColsIteratorTest
* Test iterator throws NoSuchElementException at end of iteration
*/
@Test(
* 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);
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(
* 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);
public void testRemove() throws UnsupportedOperationException
{
AllColsIterator it = new AllColsIterator(0, 3, hiddenCols);