From: gmungoc Date: Mon, 7 May 2018 14:16:42 +0000 (+0100) Subject: JAL-2808 ensure test setUp/tearDown alwaysRun X-Git-Tag: Release_2_11_0~41 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=61c3a37345ca86ac9a7cb5c47f685b212b72d91d;p=jalview.git JAL-2808 ensure test setUp/tearDown alwaysRun --- diff --git a/test/jalview/datamodel/features/FeatureAttributesTest.java b/test/jalview/datamodel/features/FeatureAttributesTest.java index e47c787..686cd2f 100644 --- a/test/jalview/datamodel/features/FeatureAttributesTest.java +++ b/test/jalview/datamodel/features/FeatureAttributesTest.java @@ -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();