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-2349 fixed rendering method and switched to using color from contact range to...
[jalview.git]
/
test
/
jalview
/
ws
/
rest
/
ShmmrRSBSService.java
diff --git
a/test/jalview/ws/rest/ShmmrRSBSService.java
b/test/jalview/ws/rest/ShmmrRSBSService.java
index
d04e8c8
..
709f2c5
100644
(file)
--- a/
test/jalview/ws/rest/ShmmrRSBSService.java
+++ b/
test/jalview/ws/rest/ShmmrRSBSService.java
@@
-24,9
+24,11
@@
import static org.testng.AssertJUnit.assertNotNull;
import static org.testng.AssertJUnit.assertTrue;
import jalview.gui.AlignFrame;
import static org.testng.AssertJUnit.assertTrue;
import jalview.gui.AlignFrame;
+import jalview.gui.JvOptionPane;
import java.util.Map;
import java.util.Map;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
/**
import org.testng.annotations.Test;
/**
@@
-36,6
+38,13
@@
import org.testng.annotations.Test;
public class ShmmrRSBSService
{
public class ShmmrRSBSService
{
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
@Test(groups = { "Functional" })
public void testShmmrService()
{
@Test(groups = { "Functional" })
public void testShmmrService()
{