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

Fixed unit test

parent 14dcba60
......@@ -32,15 +32,17 @@ class BamStatsTest extends TestNGSuite with Matchers {
outputDir.deleteOnExit()
BamStats.main(Array("-b", BamStatsTest.pairedBam01.getAbsolutePath, "-o", outputDir.getAbsolutePath))
new File(outputDir, "flagstats") should exist
new File(outputDir, "flagstats.summary.json") should exist
new File(outputDir, "mapping_quality.tsv") should exist
new File(outputDir, "insert_size.tsv") should exist
new File(outputDir, "clipping.tsv") should exist
new File(outputDir, "left_clipping.tsv") should exist
new File(outputDir, "right_clipping.tsv") should exist
new File(outputDir, "5_prime_clipping.tsv") should exist
new File(outputDir, "3_prime_clipping.tsv") should exist
new File(outputDir, "bamstats.json") should exist
new File(outputDir, "bamstats.summary.json") should exist
new File(outputDir, "flagstats") shouldNot exist
new File(outputDir, "flagstats.summary.json") shouldNot exist
new File(outputDir, "mapping_quality.tsv") shouldNot exist
new File(outputDir, "insert_size.tsv") shouldNot exist
new File(outputDir, "clipping.tsv") shouldNot exist
new File(outputDir, "left_clipping.tsv") shouldNot exist
new File(outputDir, "right_clipping.tsv") shouldNot exist
new File(outputDir, "5_prime_clipping.tsv") shouldNot exist
new File(outputDir, "3_prime_clipping.tsv") shouldNot exist
}
}
......
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