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
/
datamodel
/
SearchResultsTest.java
diff --git
a/test/jalview/datamodel/SearchResultsTest.java
b/test/jalview/datamodel/SearchResultsTest.java
index
19e89d2
..
f1a6e20
100644
(file)
--- a/
test/jalview/datamodel/SearchResultsTest.java
+++ b/
test/jalview/datamodel/SearchResultsTest.java
@@
-25,14
+25,24
@@
import static org.testng.AssertJUnit.assertFalse;
import static org.testng.AssertJUnit.assertSame;
import static org.testng.AssertJUnit.assertTrue;
import static org.testng.AssertJUnit.assertSame;
import static org.testng.AssertJUnit.assertTrue;
+import jalview.gui.JvOptionPane;
+
import java.util.BitSet;
import org.junit.Assert;
import java.util.BitSet;
import org.junit.Assert;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class SearchResultsTest
{
import org.testng.annotations.Test;
public class SearchResultsTest
{
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
@Test(groups = { "Functional" })
public void testToString()
{
@Test(groups = { "Functional" })
public void testToString()
{