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
2696081
..
98ca303
100644
(file)
--- a/
test/jalview/ws/seqfetcher/DasSequenceFetcher.java
+++ b/
test/jalview/ws/seqfetcher/DasSequenceFetcher.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9)
- * Copyright (C) 2015 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.
*
@@
-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()
{