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-4036 removing the query field code from the dropdown indexes
[jalview.git]
/
test
/
jalview
/
io
/
RNAMLfileTest.java
diff --git
a/test/jalview/io/RNAMLfileTest.java
b/test/jalview/io/RNAMLfileTest.java
index
a838cf7
..
65cea6f
100644
(file)
--- a/
test/jalview/io/RNAMLfileTest.java
+++ b/
test/jalview/io/RNAMLfileTest.java
@@
-20,29
+20,40
@@
*/
package jalview.io;
*/
package jalview.io;
+import jalview.gui.JvOptionPane;
+
+import java.io.File;
+
import org.testng.annotations.AfterClass;
import org.testng.annotations.AfterClass;
-import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeClass;
-import java.io.File;
+import org.testng.annotations.Test;
public class RNAMLfileTest
{
public class RNAMLfileTest
{
- @BeforeClass
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
+ @BeforeClass(alwaysRun = true)
public static void setUpBeforeClass() throws Exception
{
}
public static void setUpBeforeClass() throws Exception
{
}
- @AfterClass
+ @AfterClass(alwaysRun = true)
public static void tearDownAfterClass() throws Exception
{
}
public static void tearDownAfterClass() throws Exception
{
}
- @Test
+ @Test(groups = { "Functional" })
public void testRnamlToStockholmIO()
{
public void testRnamlToStockholmIO()
{
- StockholmFileTest.testFileIOwithFormat(new File(
- "examples/rna-alignment.xml"), "STH", -1, -1);
+ StockholmFileTest.testFileIOwithFormat(
+ new File("examples/testdata/rna-alignment.xml"),
+ FileFormat.Stockholm, -1, -1, true, true, true);
}
}