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 remote-tracking branch 'origin/tasks/JAL-3035_remove_dasobert_dependency' into...
[jalview.git]
/
test
/
jalview
/
gui
/
JvOptionPaneTest.java
diff --git
a/test/jalview/gui/JvOptionPaneTest.java
b/test/jalview/gui/JvOptionPaneTest.java
index
86409a4
..
02e3b65
100644
(file)
--- a/
test/jalview/gui/JvOptionPaneTest.java
+++ b/
test/jalview/gui/JvOptionPaneTest.java
@@
-30,12
+30,19
@@
import javax.swing.JFrame;
import javax.swing.JPanel;
import org.testng.Assert;
import javax.swing.JPanel;
import org.testng.Assert;
-import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class JvOptionPaneTest
{
import org.testng.annotations.Test;
public class JvOptionPaneTest
{
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
Component parentComponent = null;
String message = "Hello World!";
Component parentComponent = null;
String message = "Hello World!";
@@
-52,12
+59,6
@@
public class JvOptionPaneTest
Object[] selectionValues = null;
Object[] selectionValues = null;
- @BeforeMethod(alwaysRun = true)
- public void setUp()
- {
- JvOptionPane.setInteractiveMode(false);
- JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
- }
@Test(groups = { "Functional" })
public void showConfirmDialogFamilyTest()
@Test(groups = { "Functional" })
public void showConfirmDialogFamilyTest()