Skip to content

Commit

Permalink
internal: reduced verbosity of test output
Browse files Browse the repository at this point in the history
  • Loading branch information
hrj committed Sep 25, 2016
1 parent 262d43d commit 073dcc8
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 15 deletions.
3 changes: 0 additions & 3 deletions cli/src/test/scala/co/uproot/abandon/CliTestRunner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ class CliTestRunner extends FlatSpec with Matchers with Inside {
case x: Exception => println("error: " + x); assert(false)
}
for (testfiles <- tc.testVec) {
println("reference: " + testfiles.reference)
println("output: " + testfiles.output)

assert(testfiles.comparator(testfiles.output, testfiles.reference), "Failed comparison for " + testfiles)
}
}
Expand Down
2 changes: 1 addition & 1 deletion testCases/sclT0001-balance/bal01.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ inputs += bal01.ledger
reports += {
title = "Balance Sheet"
type = balance
outFiles = ["-"]
outFiles = [balance.txt]
accountMatch = ["^Assets.*", "^Expenses.*"]
}

Expand Down
2 changes: 1 addition & 1 deletion testCases/sclT0001-balance/bal02.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ inputs += bal02.ledger
reports += {
title = "Balance Sheet"
type = balance
outFiles = ["-"]
outFiles = [balance.txt]
accountMatch = ["^Assets.*", "^Expenses.*"]
}

Expand Down
2 changes: 1 addition & 1 deletion testCases/sclT0001-balance/bal03.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ inputs += bal03.ledger
reports += {
title = "Balance Sheet"
type = balance
outFiles = ["-"]
outFiles = [balance.txt]
accountMatch = ["^Assets.*", "^Expenses.*"]
}

Expand Down
2 changes: 1 addition & 1 deletion testCases/sclT0001-balance/bal04.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ inputs += bal04.ledger
reports += {
title = "Balance Sheet"
type = balance
outFiles = ["-"]
outFiles = [balance.txt]
accountMatch = ["^A.*", "^E.*"]
}

Expand Down
8 changes: 1 addition & 7 deletions testCases/sclT0002-ledger/all02.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,10 @@ reports += {
reports += {
title = "Balance Sheet"
type = balance
outFiles = [out.all02.balSheet.txt, "-"]
outFiles = [out.all02.balSheet.txt]
accountMatch = ["^Assets.*", "^Liability.*", "^Capital.*"]
}

reports += {
title = "Profit and Loss"
type = balance
accountMatch = ["^Income.*", "^Expenses.*"]
}

reports += {
title = "Register"
type = register
Expand Down
2 changes: 1 addition & 1 deletion testCases/sclT0004-glob/glob01.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ inputs += glob01-txns/2015/01/2015-01-22.txn
reports += {
title = "Balance Sheet"
type = balance
outFiles = ["-"]
outFiles = [balance.txt]
showZeroAmountAccounts = true
accountMatch = ["^Assets.*", "^Expenses.*"]
}
Expand Down

0 comments on commit 073dcc8

Please sign in to comment.