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
7c3a9d09
Commit
7c3a9d09
authored
Sep 10, 2015
by
Peter van 't Hof
Browse files
Redirecting output to a file
parent
a386583c
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/test/scala/nl/lumc/sasc/biopet/tools/SummaryToTsvTest.scala
View file @
7c3a9d09
...
...
@@ -23,13 +23,14 @@ class SummaryToTsvTest extends TestNGSuite with MockitoSugar with Matchers {
@Test
def
testMain
=
{
val
tsv
=
resourcePath
(
"/test.summary.json"
)
val
output
=
File
.
createTempFile
(
"main"
,
"tsv"
)
noException
should
be
thrownBy
main
(
Array
(
"-s"
,
tsv
,
"-p"
,
"something=flexiprep:settings:skip_trim"
,
"-m"
,
"root"
))
"-m"
,
"root"
,
"-o"
,
output
.
toString
))
noException
should
be
thrownBy
main
(
Array
(
"-s"
,
tsv
,
"-p"
,
"something=flexiprep:settings:skip_trim"
,
"-m"
,
"sample"
))
"-m"
,
"sample"
,
output
.
toString
))
noException
should
be
thrownBy
main
(
Array
(
"-s"
,
tsv
,
"-p"
,
"something=flexiprep:settings:skip_trim"
,
"-m"
,
"lib"
))
"-m"
,
"lib"
,
output
.
toString
))
}
@Test
...
...
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