From 707bd30b3f867f3c109a8cd33da3ace668cadb44 Mon Sep 17 00:00:00 2001 From: Mark DePristo Date: Sat, 19 Nov 2011 16:10:09 -0500 Subject: [PATCH] Should have been @BeforeMethod --- .../sting/utils/variantcontext/VariantContextUnitTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/java/test/org/broadinstitute/sting/utils/variantcontext/VariantContextUnitTest.java b/public/java/test/org/broadinstitute/sting/utils/variantcontext/VariantContextUnitTest.java index fdcf01141..a7eac7ab9 100755 --- a/public/java/test/org/broadinstitute/sting/utils/variantcontext/VariantContextUnitTest.java +++ b/public/java/test/org/broadinstitute/sting/utils/variantcontext/VariantContextUnitTest.java @@ -9,6 +9,7 @@ import org.broadinstitute.sting.BaseTest; import org.broadinstitute.sting.utils.codecs.vcf.VCFConstants; import org.testng.annotations.BeforeSuite; import org.testng.annotations.BeforeTest; +import org.testng.annotations.BeforeMethod; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import org.testng.Assert; @@ -58,7 +59,7 @@ public class VariantContextUnitTest extends BaseTest { ATCref = Allele.create("ATC", true); } - @BeforeTest + @BeforeMethod public void beforeTest() { basicBuilder = new VariantContextBuilder("test", snpLoc,snpLocStart, snpLocStop, Arrays.asList(Aref, T)).referenceBaseForIndel((byte)'A'); snpBuilder = new VariantContextBuilder("test", snpLoc,snpLocStart, snpLocStop, Arrays.asList(Aref, T)).referenceBaseForIndel((byte)'A');