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-2831 deal with hidden cols and seqs in new cursor code
[jalview.git]
/
test
/
jalview
/
datamodel
/
ResidueCountTest.java
diff --git
a/test/jalview/datamodel/ResidueCountTest.java
b/test/jalview/datamodel/ResidueCountTest.java
index
6c6e36a
..
4eb6dbf
100644
(file)
--- a/
test/jalview/datamodel/ResidueCountTest.java
+++ b/
test/jalview/datamodel/ResidueCountTest.java
@@
-25,12
+25,22
@@
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
import jalview.datamodel.ResidueCount.SymbolCounts;
import static org.testng.Assert.assertTrue;
import jalview.datamodel.ResidueCount.SymbolCounts;
+import jalview.gui.JvOptionPane;
import org.junit.Assert;
import org.junit.Assert;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class ResidueCountTest
{
import org.testng.annotations.Test;
public class ResidueCountTest
{
+
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
/**
* Test a mix of add and put for nucleotide counting
*/
/**
* Test a mix of add and put for nucleotide counting
*/