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-2326 added setup method for JvOptionPane in all Jalveiw test classes to enable...
[jalview.git]
/
test
/
jalview
/
ws
/
seqfetcher
/
DasSequenceFetcher.java
diff --git
a/test/jalview/ws/seqfetcher/DasSequenceFetcher.java
b/test/jalview/ws/seqfetcher/DasSequenceFetcher.java
index
3a011df
..
98ca303
100644
(file)
--- a/
test/jalview/ws/seqfetcher/DasSequenceFetcher.java
+++ b/
test/jalview/ws/seqfetcher/DasSequenceFetcher.java
@@
-20,12
+20,22
@@
*/
package jalview.ws.seqfetcher;
*/
package jalview.ws.seqfetcher;
+import jalview.gui.JvOptionPane;
+
import org.testng.AssertJUnit;
import org.testng.AssertJUnit;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class DasSequenceFetcher
{
import org.testng.annotations.Test;
public class DasSequenceFetcher
{
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
@Test(groups = { "Functional" })
public void testDasRegistryContact()
{
@Test(groups = { "Functional" })
public void testDasRegistryContact()
{