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-4090 relese date 14th Nov 2023
[jalview.git]
/
test
/
jalview
/
util
/
SparseCountTest.java
diff --git
a/test/jalview/util/SparseCountTest.java
b/test/jalview/util/SparseCountTest.java
index
f4a0c97
..
711bb66
100644
(file)
--- a/
test/jalview/util/SparseCountTest.java
+++ b/
test/jalview/util/SparseCountTest.java
@@
-24,9
+24,21
@@
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;
import org.testng.annotations.Test;
+
public class SparseCountTest
{
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()
{