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 'patch/JAL-2754_patch2104forJava8' into releases/Release_2_10_4_Branch
[jalview.git]
/
test
/
jalview
/
datamodel
/
AlignedCodonFrameTest.java
diff --git
a/test/jalview/datamodel/AlignedCodonFrameTest.java
b/test/jalview/datamodel/AlignedCodonFrameTest.java
index
2e0793e
..
fb4073a
100644
(file)
--- a/
test/jalview/datamodel/AlignedCodonFrameTest.java
+++ b/
test/jalview/datamodel/AlignedCodonFrameTest.java
@@
-27,16
+27,25
@@
import static org.testng.AssertJUnit.assertSame;
import static org.testng.AssertJUnit.assertTrue;
import static org.testng.internal.junit.ArrayAsserts.assertArrayEquals;
import static org.testng.AssertJUnit.assertTrue;
import static org.testng.internal.junit.ArrayAsserts.assertArrayEquals;
+import jalview.gui.JvOptionPane;
import jalview.util.MapList;
import java.util.Arrays;
import java.util.List;
import jalview.util.MapList;
import java.util.Arrays;
import java.util.List;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class AlignedCodonFrameTest
{
import org.testng.annotations.Test;
public class AlignedCodonFrameTest
{
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
/**
* 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.
*/