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-1950 groovy script to test loading of JSON dump from Hmmer3 (v3.0b1 server)
[jalview.git]
/
test
/
MCview
/
BondTest.java
diff --git
a/test/MCview/BondTest.java
b/test/MCview/BondTest.java
index
eea58a7
..
aa29ad0
100644
(file)
--- a/
test/MCview/BondTest.java
+++ b/
test/MCview/BondTest.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-22,11
+22,21
@@
package MCview;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertEquals;
+import jalview.gui.JvOptionPane;
+
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class BondTest
{
import org.testng.annotations.Test;
public class BondTest
{
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
@Test(groups = { "Functional" })
public void testTranslate()
{
@Test(groups = { "Functional" })
public void testTranslate()
{