1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package jalview.io; |
22 |
|
|
23 |
|
import jalview.gui.JvOptionPane; |
24 |
|
|
25 |
|
import java.io.File; |
26 |
|
|
27 |
|
import org.testng.annotations.AfterClass; |
28 |
|
import org.testng.annotations.BeforeClass; |
29 |
|
import org.testng.annotations.Test; |
30 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (7) |
Complexity: 4 |
Complexity Density: 1.33 |
|
31 |
|
public class RNAMLfileTest |
32 |
|
{ |
33 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
34 |
1 |
@BeforeClass(alwaysRun = true)... |
35 |
|
public void setUpJvOptionPane() |
36 |
|
{ |
37 |
1 |
JvOptionPane.setInteractiveMode(false); |
38 |
1 |
JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION); |
39 |
|
} |
40 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
41 |
1 |
@BeforeClass(alwaysRun = true)... |
42 |
|
public static void setUpBeforeClass() throws Exception |
43 |
|
{ |
44 |
|
} |
45 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
46 |
1 |
@AfterClass(alwaysRun = true)... |
47 |
|
public static void tearDownAfterClass() throws Exception |
48 |
|
{ |
49 |
|
} |
50 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
1PASS
|
|
51 |
1 |
@Test(groups = { "Functional" })... |
52 |
|
public void testRnamlToStockholmIO() |
53 |
|
{ |
54 |
1 |
StockholmFileTest.testFileIOwithFormat(new File( |
55 |
|
"examples/testdata/rna-alignment.xml"), FileFormat.Stockholm, |
56 |
|
-1, -1, true, true, true); |
57 |
|
|
58 |
|
} |
59 |
|
|
60 |
|
} |