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 'features/JAL-2326_JOptionPane-refactoring' into develop
[jalview.git]
/
test
/
jalview
/
util
/
SparseCountTest.java
diff --git
a/test/jalview/util/SparseCountTest.java
b/test/jalview/util/SparseCountTest.java
index
f4a0c97
..
c4d67b6
100644
(file)
--- a/
test/jalview/util/SparseCountTest.java
+++ b/
test/jalview/util/SparseCountTest.java
@@
-24,9
+24,20
@@
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
+import jalview.gui.JvOptionPane;
+
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class SparseCountTest
{
import org.testng.annotations.Test;
public class SparseCountTest
{
+
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
@Test(groups = "Functional")
public void testAdd()
{
@Test(groups = "Functional")
public void testAdd()
{