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 'develop' into bug/JAL-2255_seq-fetcher-broken-on-linux
[jalview.git]
/
test
/
jalview
/
ext
/
so
/
SequenceOntologyTest.java
diff --git
a/test/jalview/ext/so/SequenceOntologyTest.java
b/test/jalview/ext/so/SequenceOntologyTest.java
index
1bc802e
..
b76a295
100644
(file)
--- a/
test/jalview/ext/so/SequenceOntologyTest.java
+++ b/
test/jalview/ext/so/SequenceOntologyTest.java
@@
-23,6
+23,7
@@
package jalview.ext.so;
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 jalview.io.gff.SequenceOntologyI;
import org.testng.annotations.BeforeClass;
import jalview.io.gff.SequenceOntologyI;
import org.testng.annotations.BeforeClass;
@@
-30,6
+31,14
@@
import org.testng.annotations.Test;
public class SequenceOntologyTest
{
public class SequenceOntologyTest
{
+
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
private SequenceOntologyI so;
@BeforeClass(alwaysRun = true)
private SequenceOntologyI so;
@BeforeClass(alwaysRun = true)