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

Added test for wrong caller

parent 0d3f776d
......@@ -136,6 +136,19 @@ class ShivaSvCallingTest extends TestNGSuite with Matchers {
}
}
@Test
def testWrongCaller(): Unit = {
val map = Map("sv_callers" -> List("this is not a caller"))
val pipeline = initPipeline(map)
pipeline.inputBams = Map("bam" -> ShivaVariantcallingTest.inputTouch("bam" + ".bam"))
intercept[IllegalArgumentException] {
pipeline.init()
pipeline.script()
}
}
@AfterClass def removeTempOutputDir() = {
FileUtils.deleteDirectory(ShivaSvCallingTest.outputDir)
}
......
Markdown is supported
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