From 00858f16a6bd72e58c42ca2e63fd447dd5faf7ee Mon Sep 17 00:00:00 2001 From: Mark DePristo Date: Mon, 6 Aug 2012 12:57:55 -0400 Subject: [PATCH] Deleting empty unit test for AdaptiveContexts --- .../AdaptiveContextUnitTest.java | 64 ------------------- 1 file changed, 64 deletions(-) delete mode 100644 public/java/test/org/broadinstitute/sting/utils/recalibration/AdaptiveContextUnitTest.java diff --git a/public/java/test/org/broadinstitute/sting/utils/recalibration/AdaptiveContextUnitTest.java b/public/java/test/org/broadinstitute/sting/utils/recalibration/AdaptiveContextUnitTest.java deleted file mode 100644 index c07c084b8..000000000 --- a/public/java/test/org/broadinstitute/sting/utils/recalibration/AdaptiveContextUnitTest.java +++ /dev/null @@ -1,64 +0,0 @@ -package org.broadinstitute.sting.utils.recalibration; - -import org.broadinstitute.sting.BaseTest; -import org.testng.annotations.DataProvider; -import org.testng.annotations.Test; - -/** - * User: depristo - * Date: 8/3/12 - * Time: 12:26 PM - * To change this template use File | Settings | File Templates. - */ -public class AdaptiveContextUnitTest { - // TODO - // TODO actually need unit tests when we have validated the value of this approach - // TODO particularly before we attempt to optimize the algorithm - // TODO - - // -------------------------------------------------------------------------------- - // - // Provider - // - // -------------------------------------------------------------------------------- - - private class AdaptiveContextTestProvider extends BaseTest.TestDataProvider { - final RecalDatumNode pruned; - final RecalDatumNode full; - - private AdaptiveContextTestProvider(Class c, RecalDatumNode pruned, RecalDatumNode full) { - super(AdaptiveContextTestProvider.class); - this.pruned = pruned; - this.full = full; - } - } - - private RecalDatumNode makeTree(final String context, final int N, final int M, - final RecalDatumNode ... sub) { - final ContextDatum contextDatum = new ContextDatum(context, N, M); - final RecalDatumNode node = new RecalDatumNode(contextDatum); - for ( final RecalDatumNode sub1 : sub ) { - node.addSubnode(sub1); - } - return node; - } - - @DataProvider(name = "AdaptiveContextTestProvider") - public Object[][] makeRecalDatumTestProvider() { -// final RecalDatumNode prune1 = -// makeTree("A", 10, 1, -// makeTree("AA", 11, 2), -// makeTree("AC", 12, 3), -// makeTree("AG", 13, 4), -// makeTree("AT", 14, 5)); -// -// new AdaptiveContextTestProvider(pruned, full); - - return AdaptiveContextTestProvider.getTests(AdaptiveContextTestProvider.class); - } - - @Test(dataProvider = "AdaptiveContextTestProvider") - public void testAdaptiveContextFill(AdaptiveContextTestProvider cfg) { - - } -}