git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3141 Made some suggested changes from code review
[jalview.git]
/
test
/
jalview
/
io
/
FileFormatsTest.java
diff --git
a/test/jalview/io/FileFormatsTest.java
b/test/jalview/io/FileFormatsTest.java
index
ffc844c
..
7810504
100644
(file)
--- 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 java.util.Iterator;
import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
public class FileFormatsTest
{
import org.testng.annotations.Test;
public class FileFormatsTest
{
- @AfterMethod()
+ @AfterMethod(alwaysRun = true)
public void tearDown()
{
FileFormats.getInstance().reset();
}
public void tearDown()
{
FileFormats.getInstance().reset();
}
+ @BeforeMethod(alwaysRun = true)
+ public void setUp()
+ {
+ FileFormats.getInstance().reset();
+ }
+
@Test(groups = "Functional")
public void testIsIdentifiable()
{
@Test(groups = "Functional")
public void testIsIdentifiable()
{