Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
b88623c3
Commit
b88623c3
authored
Nov 20, 2016
by
Peter van 't Hof
Browse files
Fixed unit tests
parent
f418cc1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
bammetrics/src/test/scala/nl/lumc/sasc/biopet/pipelines/bammetrics/BamMetricsTest.scala
View file @
b88623c3
...
...
@@ -18,7 +18,7 @@ import java.io.{ File, FileOutputStream }
import
com.google.common.io.Files
import
nl.lumc.sasc.biopet.extensions.picard._
import
nl.lumc.sasc.biopet.extensions.tools.B
iopetFlags
tat
import
nl.lumc.sasc.biopet.extensions.tools.B
amS
tat
s
import
nl.lumc.sasc.biopet.utils.ConfigUtils
import
nl.lumc.sasc.biopet.utils.config.Config
import
org.apache.commons.io.FileUtils
...
...
@@ -77,7 +77,7 @@ class BamMetricsTest extends TestNGSuite with Matchers {
bammetrics
.
functions
.
count
(
_
.
isInstanceOf
[
CollectMultipleMetrics
])
shouldBe
1
bammetrics
.
functions
.
count
(
_
.
isInstanceOf
[
CalculateHsMetrics
])
shouldBe
(
if
(
amplicon
)
1
else
0
)
bammetrics
.
functions
.
count
(
_
.
isInstanceOf
[
CollectTargetedPcrMetrics
])
shouldBe
(
if
(
amplicon
)
1
else
0
)
bammetrics
.
functions
.
count
(
_
.
isInstanceOf
[
B
iopetFlags
tat
])
shouldBe
1
bammetrics
.
functions
.
count
(
_
.
isInstanceOf
[
B
amS
tat
s
])
shouldBe
1
}
// remove temporary run directory all tests in the class have been run
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment