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
a326b6a
..
17dbf5f
100644
(file)
--- a/
test/jalview/gui/AppVarnaTest.java
+++ b/
test/jalview/gui/AppVarnaTest.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1)
- * 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.
*
@@
-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 = "{(<]}>)";