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-3243 Replaced javax.ws jar compatible with jersey-*-1.19.1.jar
[jalview.git]
/
test
/
jalview
/
io
/
gff
/
GffHelperFactoryTest.java
diff --git
a/test/jalview/io/gff/GffHelperFactoryTest.java
b/test/jalview/io/gff/GffHelperFactoryTest.java
index
cfe1d12
..
84725ff
100644
(file)
--- a/
test/jalview/io/gff/GffHelperFactoryTest.java
+++ b/
test/jalview/io/gff/GffHelperFactoryTest.java
@@
-24,11
+24,21
@@
import static org.testng.AssertJUnit.assertNull;
import static org.testng.AssertJUnit.assertSame;
import static org.testng.AssertJUnit.assertTrue;
import static org.testng.AssertJUnit.assertSame;
import static org.testng.AssertJUnit.assertTrue;
+import jalview.gui.JvOptionPane;
+
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class GffHelperFactoryTest
{
import org.testng.annotations.Test;
public class GffHelperFactoryTest
{
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
@Test(groups = "Functional")
public void testGetHelper()
{
@Test(groups = "Functional")
public void testGetHelper()
{