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-3847 Some attempts to fix a few eclipse import problems
[jalview.git]
/
test
/
jalview
/
util
/
ShiftListTest.java
diff --git
a/test/jalview/util/ShiftListTest.java
b/test/jalview/util/ShiftListTest.java
index
62ddfb0
..
e8b9b50
100644
(file)
--- a/
test/jalview/util/ShiftListTest.java
+++ b/
test/jalview/util/ShiftListTest.java
@@
-23,14
+23,24
@@
package jalview.util;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertNull;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertNull;
+import jalview.gui.JvOptionPane;
+
import java.util.Arrays;
import java.util.List;
import java.util.Arrays;
import java.util.List;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class ShiftListTest
{
import org.testng.annotations.Test;
public class ShiftListTest
{
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
@Test(groups = { "Functional" })
public void testParseMap()
{
@Test(groups = { "Functional" })
public void testParseMap()
{