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
Merge branch 'develop' into bug/JAL-2255_seq-fetcher-broken-on-linux
[jalview.git]
/
test
/
jalview
/
gui
/
ProgressBarTest.java
diff --git
a/test/jalview/gui/ProgressBarTest.java
b/test/jalview/gui/ProgressBarTest.java
index
4346420
..
a1715e9
100644
(file)
--- a/
test/jalview/gui/ProgressBarTest.java
+++ b/
test/jalview/gui/ProgressBarTest.java
@@
-31,11
+31,19
@@
import javax.swing.JLabel;
import javax.swing.JPanel;
import org.testng.Assert;
import javax.swing.JPanel;
import org.testng.Assert;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class ProgressBarTest
{
import org.testng.annotations.Test;
public class ProgressBarTest
{
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
private JPanel statusPanel;
private JLabel statusBar;
private JPanel statusPanel;
private JLabel statusBar;