From 9c41ac252f0d853c016c946496a5202c8e3eb8f4 Mon Sep 17 00:00:00 2001 From: asivache Date: Wed, 30 Dec 2009 21:12:00 +0000 Subject: [PATCH] Disable testSingleBPFailure - getReferenceContext() now whould agree to accept length > 1 genome locs as its argument, so there's nothing to test... git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2486 348d0f76-0448-11de-a6fe-93d51630548a --- .../providers/LocusReferenceViewTest.java | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/java/test/org/broadinstitute/sting/gatk/datasources/providers/LocusReferenceViewTest.java b/java/test/org/broadinstitute/sting/gatk/datasources/providers/LocusReferenceViewTest.java index 6cc560d3f..4d17322b0 100755 --- a/java/test/org/broadinstitute/sting/gatk/datasources/providers/LocusReferenceViewTest.java +++ b/java/test/org/broadinstitute/sting/gatk/datasources/providers/LocusReferenceViewTest.java @@ -39,16 +39,18 @@ import net.sf.samtools.util.StringUtil; /** Tests for viewing the reference from the perspective of a locus. */ public class LocusReferenceViewTest extends ReferenceViewTemplate { - /** Multiple-base pair queries should generate exceptions. */ - @Test(expected = InvalidPositionException.class) - public void testSingleBPFailure() { - Shard shard = new LocusShard(GenomeLocParser.createGenomeLoc(0, 1, 50)); - ShardDataProvider dataProvider = new ShardDataProvider(shard, null, sequenceFile, null); - LocusReferenceView view = new LocusReferenceView(dataProvider); - - view.getReferenceContext(shard.getGenomeLoc()).getBase(); - } +// +// /** Multiple-base pair queries should generate exceptions. */ +// @Test(expected = InvalidPositionException.class) +// public void testSingleBPFailure() { +// Shard shard = new LocusShard(GenomeLocParser.createGenomeLoc(0, 1, 50)); +// +// ShardDataProvider dataProvider = new ShardDataProvider(shard, null, sequenceFile, null); +// LocusReferenceView view = new LocusReferenceView(dataProvider); +// +// view.getReferenceContext(shard.getGenomeLoc()).getBase(); +// } @Test public void testOverlappingReferenceBases() {