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-1648 Added improvement to persist cache items to properties file beyound a Jalvie...
[jalview.git]
/
test
/
jalview
/
ws
/
dbsources
/
XfamFetcherTest.java
diff --git
a/test/jalview/ws/dbsources/XfamFetcherTest.java
b/test/jalview/ws/dbsources/XfamFetcherTest.java
index
c894fd1
..
2f28484
100644
(file)
--- a/
test/jalview/ws/dbsources/XfamFetcherTest.java
+++ b/
test/jalview/ws/dbsources/XfamFetcherTest.java
@@
-21,12
+21,22
@@
package jalview.ws.dbsources;
import jalview.datamodel.AlignmentI;
package jalview.ws.dbsources;
import jalview.datamodel.AlignmentI;
+import jalview.gui.JvOptionPane;
import org.testng.Assert;
import org.testng.Assert;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class XfamFetcherTest
{
import org.testng.annotations.Test;
public class XfamFetcherTest
{
+
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
@Test(groups = { "External" })
public void testRfamSeed() throws Exception
{
@Test(groups = { "External" })
public void testRfamSeed() throws Exception
{