JAL-2808 ensure test setUp/tearDown alwaysRun
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 7 May 2018 14:16:42 +0000 (15:16 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 7 May 2018 14:16:42 +0000 (15:16 +0100)
test/jalview/datamodel/features/FeatureAttributesTest.java

index e47c787..686cd2f 100644 (file)
@@ -23,7 +23,7 @@ public class FeatureAttributesTest
   /**
    * clear down attributes map before tests
    */
-  @BeforeClass
+  @BeforeClass(alwaysRun = true)
   public void setUp()
   {
     FeatureAttributes fa = FeatureAttributes.getInstance();
@@ -33,7 +33,7 @@ public class FeatureAttributesTest
   /**
    * clear down attributes map after tests
    */
-  @AfterMethod
+  @AfterMethod(alwaysRun = true)
   public void tearDown()
   {
     FeatureAttributes fa = FeatureAttributes.getInstance();