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-2465 missed commit for refactore renaming of getPdbFile() method to getStructureF...
[jalview.git]
/
test
/
jalview
/
util
/
PlatformTest.java
diff --git
a/test/jalview/util/PlatformTest.java
b/test/jalview/util/PlatformTest.java
index
e9e4628
..
307f450
100644
(file)
--- a/
test/jalview/util/PlatformTest.java
+++ b/
test/jalview/util/PlatformTest.java
@@
-23,14
+23,25
@@
package jalview.util;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
+import jalview.gui.JvOptionPane;
+
import java.awt.Button;
import java.awt.Event;
import java.awt.event.MouseEvent;
import java.awt.Button;
import java.awt.Event;
import java.awt.event.MouseEvent;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class PlatformTest
{
import org.testng.annotations.Test;
public class PlatformTest
{
+
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
Button b = new Button();
/**
Button b = new Button();
/**