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
This commit is contained in:
asivache 2009-12-30 21:12:00 +00:00
parent 8932e67325
commit 9c41ac252f
1 changed files with 11 additions and 9 deletions

View File

@ -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() {