Commit a4d3abf8 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Added more tests

parent ba36a06a
...@@ -51,6 +51,27 @@ class GenerateIndexesTest extends TestNGSuite with Matchers { ...@@ -51,6 +51,27 @@ class GenerateIndexesTest extends TestNGSuite with Matchers {
pipeline.script() pipeline.script()
} }
@Test
def testContigMapDbsnp: Unit = {
val pipeline = initPipeline(Map())
pipeline.referenceConfig = Map("s1" -> Map("g1" -> Map("fasta_uri" -> "uri", "dbsnp_vcf_uri" -> "uri.vcf.gz", "dbsnp_contig_map" -> Map("1" -> "chr1"))))
pipeline.script()
}
@Test
def testUnzippedContigMapDbsnp: Unit = {
val pipeline = initPipeline(Map())
pipeline.referenceConfig = Map("s1" -> Map("g1" -> Map("fasta_uri" -> "uri", "dbsnp_vcf_uri" -> "uri.vcf", "dbsnp_contig_map" -> Map("1" -> "chr1"))))
pipeline.script()
}
@Test
def testSingleUnzippedDbsnp: Unit = {
val pipeline = initPipeline(Map())
pipeline.referenceConfig = Map("s1" -> Map("g1" -> Map("fasta_uri" -> "uri", "dbsnp_vcf_uri" -> "uri.vcf")))
pipeline.script()
}
@Test @Test
def testMultiDbsnp: Unit = { def testMultiDbsnp: Unit = {
val pipeline = initPipeline(Map()) val pipeline = initPipeline(Map())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment