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-2379 more realistic matrices for unit tests
[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
e164267
..
2f28484
100644
(file)
--- a/
test/jalview/ws/dbsources/XfamFetcherTest.java
+++ b/
test/jalview/ws/dbsources/XfamFetcherTest.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
- * Copyright (C) 2016 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-21,13
+21,23
@@
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
{
- @Test(groups = { "network" })
+
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
+ @Test(groups = { "External" })
public void testRfamSeed() throws Exception
{
// RfamFull rff = new RfamFull();
public void testRfamSeed() throws Exception
{
// RfamFull rff = new RfamFull();
@@
-41,7
+51,7
@@
public class XfamFetcherTest
+ " didn't contain more than one sequence.");
}
+ " didn't contain more than one sequence.");
}
- @Test(groups = { "network" })
+ @Test(groups = { "External" })
public void testPfamFullAndSeed() throws Exception
{
PfamFull pff = new PfamFull();
public void testPfamFullAndSeed() throws Exception
{
PfamFull pff = new PfamFull();