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-1805 test envirionment separation
[jalview.git]
/
test
/
jalview
/
datamodel
/
AlignedCodonFrameTest.java
diff --git
a/test/jalview/datamodel/AlignedCodonFrameTest.java
b/test/jalview/datamodel/AlignedCodonFrameTest.java
index
0e24bf6
..
35d92d3
100644
(file)
--- a/
test/jalview/datamodel/AlignedCodonFrameTest.java
+++ b/
test/jalview/datamodel/AlignedCodonFrameTest.java
@@
-1,12
+1,13
@@
package jalview.datamodel;
package jalview.datamodel;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNull;
+import static org.testng.AssertJUnit.assertEquals;
+import static org.testng.AssertJUnit.assertNull;
+
import jalview.util.MapList;
import java.util.Arrays;
import jalview.util.MapList;
import java.util.Arrays;
-import org.junit.Test;
+import org.testng.annotations.Test;
public class AlignedCodonFrameTest
{
public class AlignedCodonFrameTest
{
@@
-14,7
+15,7
@@
public class AlignedCodonFrameTest
/**
* Test the method that locates the first aligned sequence that has a mapping.
*/
/**
* Test the method that locates the first aligned sequence that has a mapping.
*/
- @Test
+ @Test(groups ={ "Functional" })
public void testFindAlignedSequence()
{
AlignmentI cdna = new Alignment(new SequenceI[]
public void testFindAlignedSequence()
{
AlignmentI cdna = new Alignment(new SequenceI[]
@@
-62,7
+63,7
@@
public class AlignedCodonFrameTest
/**
* Test the method that locates the mapped codon for a protein position.
*/
/**
* Test the method that locates the mapped codon for a protein position.
*/
- @Test
+ @Test(groups ={ "Functional" })
public void testGetMappedRegion()
{
// introns lower case, exons upper case
public void testGetMappedRegion()
{
// introns lower case, exons upper case
@@
-110,7
+111,7
@@
public class AlignedCodonFrameTest
assertNull(acf.getMappedRegion(seq1, aseq2, 1));
}
assertNull(acf.getMappedRegion(seq1, aseq2, 1));
}
- @Test
+ @Test(groups ={ "Functional" })
public void testGetMappedCodon()
{
final Sequence seq1 = new Sequence("Seq1", "c-G-TA-gC-gT-T");
public void testGetMappedCodon()
{
final Sequence seq1 = new Sequence("Seq1", "c-G-TA-gC-gT-T");