Skip to content
Snippets Groups Projects
Commit 1cafa1af authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Added test for wrong caller

parent 0d3f776d
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment