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-3125 avoid slider 'rounding' threshold field value
[jalview.git]
/
test
/
jalview
/
commands
/
TrimRegionCommandTest.java
diff --git
a/test/jalview/commands/TrimRegionCommandTest.java
b/test/jalview/commands/TrimRegionCommandTest.java
index
d593d41
..
70c54fb
100644
(file)
--- a/
test/jalview/commands/TrimRegionCommandTest.java
+++ b/
test/jalview/commands/TrimRegionCommandTest.java
@@
-26,7
+26,9
@@
import jalview.datamodel.Alignment;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.Sequence;
import jalview.datamodel.SequenceI;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.Sequence;
import jalview.datamodel.SequenceI;
+import jalview.gui.JvOptionPane;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
@@
-38,6
+40,14
@@
import org.testng.annotations.Test;
*/
public class TrimRegionCommandTest
{
*/
public class TrimRegionCommandTest
{
+
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
private AlignmentI al;
@BeforeMethod(alwaysRun = true)
private AlignmentI al;
@BeforeMethod(alwaysRun = true)