X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2Fjalview%2Fws%2Fjabaws%2FDisorderAnnotExportImport.java;h=9f624813f1e7abc27ec11bc3c4cebb4ea0a05944;hb=refs%2Fheads%2Freleases%2FRelease_2_10_0_Branch;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..9f62481 100644 --- a/test/jalview/ws/jabaws/DisorderAnnotExportImport.java +++ b/test/jalview/ws/jabaws/DisorderAnnotExportImport.java @@ -23,6 +23,7 @@ package jalview.ws.jabaws; import static org.testng.AssertJUnit.assertNotNull; import static org.testng.AssertJUnit.assertTrue; +import jalview.bin.Cache; import jalview.datamodel.AlignmentAnnotation; import jalview.datamodel.AlignmentI; import jalview.io.AnnotationFile; @@ -40,6 +41,7 @@ import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; +@Test(groups = { "External" }) public class DisorderAnnotExportImport { public static String testseqs = "examples/uniref50.fa"; @@ -52,11 +54,11 @@ public class DisorderAnnotExportImport public static jalview.gui.AlignFrame af = null; - @BeforeClass(alwaysRun = true) + @BeforeClass(inheritGroups = true) public static void setUpBeforeClass() throws Exception { - - jalview.bin.Cache.initLogger(); + Cache.loadProperties("test/jalview/io/testProps.jvprops"); + Cache.initLogger(); disc = JalviewJabawsTestUtils.getJabawsDiscoverer(); iupreds = new ArrayList(); for (Jws2Instance svc : disc.getServices()) @@ -73,20 +75,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);