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:
parent
8932e67325
commit
9c41ac252f
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue