X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fio%2FFileFormatsTest.java;h=781050422f805ab9dbeb5b508344e55cc597439e;hb=527793abb7caec45b0362d349d5410a895573c7b;hp=ffc844cf914dd9f0de115331fa3a2e6c5c5961eb;hpb=c8b35bed08a4bd8688b762bd50f13195c1cfb1c6;p=jalview.git diff --git a/test/jalview/io/FileFormatsTest.java b/test/jalview/io/FileFormatsTest.java index ffc844c..7810504 100644 --- a/test/jalview/io/FileFormatsTest.java +++ b/test/jalview/io/FileFormatsTest.java @@ -10,16 +10,23 @@ import static org.testng.Assert.assertTrue; import java.util.Iterator; import org.testng.annotations.AfterMethod; +import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; public class FileFormatsTest { - @AfterMethod() + @AfterMethod(alwaysRun = true) public void tearDown() { FileFormats.getInstance().reset(); } + @BeforeMethod(alwaysRun = true) + public void setUp() + { + FileFormats.getInstance().reset(); + } + @Test(groups = "Functional") public void testIsIdentifiable() {