X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fws%2Fjabaws%2FDisorderAnnotExportImport.java;h=64840c21eae0fdc80631ffe4aa66951552634b9d;hb=99d5f1d805e530f23a53dad4484d44ecd0fbfdf3;hp=35110a4128600bb90fb294b832a3c951160c0e2f;hpb=28fda83cbef0c9c82cd09a343af4e1721085c104;p=jalview.git diff --git a/test/jalview/ws/jabaws/DisorderAnnotExportImport.java b/test/jalview/ws/jabaws/DisorderAnnotExportImport.java index 35110a4..64840c2 100644 --- a/test/jalview/ws/jabaws/DisorderAnnotExportImport.java +++ b/test/jalview/ws/jabaws/DisorderAnnotExportImport.java @@ -40,6 +40,7 @@ import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; +@Test(groups = { "Network" }) public class DisorderAnnotExportImport { public static String testseqs = "examples/uniref50.fa"; @@ -52,7 +53,7 @@ public class DisorderAnnotExportImport public static jalview.gui.AlignFrame af = null; - @BeforeClass(alwaysRun = true) + @BeforeClass(inheritGroups = true) public static void setUpBeforeClass() throws Exception { @@ -73,20 +74,21 @@ public class DisorderAnnotExportImport assertNotNull("Couldn't load test data ('" + testseqs + "')", af); } - @AfterClass + @AfterClass(alwaysRun = true) public static void tearDownAfterClass() throws Exception { if (af != null) { af.setVisible(false); af.dispose(); + af = null; } } /** * test for patches to JAL-1294 */ - @Test(groups ={ "Functional" }) + @Test public void testDisorderAnnotExport() { disorderClient = new AADisorderClient(iupreds.get(0), af, null, null);