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
Merge branch 'develop' into features/JAL-2446NCList
[jalview.git]
/
test
/
jalview
/
datamodel
/
features
/
NCNodeTest.java
diff --git
a/test/jalview/datamodel/features/NCNodeTest.java
b/test/jalview/datamodel/features/NCNodeTest.java
index
4198fec
..
ca227c5
100644
(file)
--- a/
test/jalview/datamodel/features/NCNodeTest.java
+++ b/
test/jalview/datamodel/features/NCNodeTest.java
@@
-9,6
+9,8
@@
import jalview.datamodel.SequenceFeature;
import java.util.ArrayList;
import java.util.List;
import java.util.ArrayList;
import java.util.List;
+import junit.extensions.PA;
+
import org.testng.annotations.Test;
public class NCNodeTest
import org.testng.annotations.Test;
public class NCNodeTest
@@
-119,16
+121,15
@@
public class NCNodeTest
* NCList of [14-15, 16-17]
*/
assertTrue(node.isValid());
* NCList of [14-15, 16-17]
*/
assertTrue(node.isValid());
- r1.start = 15;
+ PA.setValue(r1, "start", 15);
assertFalse(node.isValid()); // r2 not within r1
assertFalse(node.isValid()); // r2 not within r1
- r1.start = 10;
+ PA.setValue(r1, "start", 10);
assertTrue(node.isValid());
assertTrue(node.isValid());
- r1.end = 16;
+ PA.setValue(r1, "end", 16);
assertFalse(node.isValid()); // r3 not within r1
assertFalse(node.isValid()); // r3 not within r1
- r1.end = 20;
+ PA.setValue(r1, "end", 20);
assertTrue(node.isValid());
assertTrue(node.isValid());
- r3.start = 12;
+ PA.setValue(r3, "start", 12);
assertFalse(node.isValid()); // r3 should precede r2
assertFalse(node.isValid()); // r3 should precede r2
-
}
}
}
}