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-4134 efficiency improvement
[jalview.git]
/
test
/
jalview
/
gui
/
AppVarnaTest.java
diff --git
a/test/jalview/gui/AppVarnaTest.java
b/test/jalview/gui/AppVarnaTest.java
index
5bc0ddf
..
17dbf5f
100644
(file)
--- a/
test/jalview/gui/AppVarnaTest.java
+++ b/
test/jalview/gui/AppVarnaTest.java
@@
-24,11
+24,20
@@
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertNull;
import static org.testng.AssertJUnit.assertSame;
import static org.testng.AssertJUnit.assertNull;
import static org.testng.AssertJUnit.assertSame;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class AppVarnaTest
{
import org.testng.annotations.Test;
public class AppVarnaTest
{
- @Test
+
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
+ @Test(groups = "Functional")
public void testReplaceOddGaps()
{
String struct = "{(<]}>)";
public void testReplaceOddGaps()
{
String struct = "{(<]}>)";