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-4134 efficiency improvement
[jalview.git]
/
test
/
jalview
/
datamodel
/
AlignedCodonTest.java
diff --git
a/test/jalview/datamodel/AlignedCodonTest.java
b/test/jalview/datamodel/AlignedCodonTest.java
index
29d6801
..
36f06f1
100644
(file)
--- a/
test/jalview/datamodel/AlignedCodonTest.java
+++ b/
test/jalview/datamodel/AlignedCodonTest.java
@@
-24,11
+24,21
@@
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertFalse;
import static org.testng.AssertJUnit.assertTrue;
import static org.testng.AssertJUnit.assertFalse;
import static org.testng.AssertJUnit.assertTrue;
+import jalview.gui.JvOptionPane;
+
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class AlignedCodonTest
{
import org.testng.annotations.Test;
public class AlignedCodonTest
{
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
@Test(groups = { "Functional" })
public void testEquals()
{
@Test(groups = { "Functional" })
public void testEquals()
{