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-2795 added error catching for invalid identifier
[jalview.git]
/
test
/
jalview
/
bin
/
ArgsParserTest.java
diff --git
a/test/jalview/bin/ArgsParserTest.java
b/test/jalview/bin/ArgsParserTest.java
index
20e43b8
..
0485db7
100644
(file)
--- a/
test/jalview/bin/ArgsParserTest.java
+++ b/
test/jalview/bin/ArgsParserTest.java
@@
-25,10
+25,21
@@
import static org.testng.AssertJUnit.assertFalse;
import static org.testng.AssertJUnit.assertNull;
import static org.testng.AssertJUnit.assertTrue;
import static org.testng.AssertJUnit.assertNull;
import static org.testng.AssertJUnit.assertTrue;
+import jalview.gui.JvOptionPane;
+
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class ArgsParserTest
{
import org.testng.annotations.Test;
public class ArgsParserTest
{
+
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
@Test(groups = "Functional")
public void testGetValue()
{
@Test(groups = "Functional")
public void testGetValue()
{