summaryrefslogtreecommitdiff
path: root/test/baseline/opt-time-report.test
diff options
context:
space:
mode:
authortripun <tripun@gmail.com>2014-08-10 00:15:38 +0530
committerMartin Michlmayr <tbm@cyrius.com>2014-08-10 08:43:01 +0200
commit095aacf39b00da39bc5843b5edb72b611a5992ff (patch)
tree737a3df9edb658a65301ef92152c28c474be159b /test/baseline/opt-time-report.test
parente8be8f1a9b7a970d3b85564ec78aef6f813c84ad (diff)
downloadfork-ledger-095aacf39b00da39bc5843b5edb72b611a5992ff.tar.gz
fork-ledger-095aacf39b00da39bc5843b5edb72b611a5992ff.tar.bz2
fork-ledger-095aacf39b00da39bc5843b5edb72b611a5992ff.zip
add test for --time-report
Diffstat (limited to 'test/baseline/opt-time-report.test')
-rw-r--r--test/baseline/opt-time-report.test44
1 files changed, 44 insertions, 0 deletions
diff --git a/test/baseline/opt-time-report.test b/test/baseline/opt-time-report.test
index e69de29b..605e299e 100644
--- a/test/baseline/opt-time-report.test
+++ b/test/baseline/opt-time-report.test
@@ -0,0 +1,44 @@
+i 2013/04/05 09:30:00 Internal:Meeting:Tactical [Intelligent comment]
+o 2013/04/05 10:00:00
+i 2013/04/05 10:00:00 CustomerA:Email
+o 2013/04/05 10:05:00
+i 2013/04/05 10:05:00 CustomerB:Config
+o 2013/04/05 11:30:00
+i 2013/04/05 11:30:00 Personal:Walk
+o 2013/04/05 12:00:00
+i 2013/04/05 12:00:00 Personal:Lunch
+o 2013/04/05 13:30:00
+
+test bal
+ 5.0m CustomerA:Email
+ 1.42h CustomerB:Config
+ 30.0m Internal:Meeting:Tactical [Intelligent comment]
+ 2.00h Personal
+ 1.50h Lunch
+ 30.0m Walk
+--------------------
+ 4.00h
+end test
+
+test bal --time-report
+ 13-Apr-05 10:00:00 13-Apr-05 10:05:00 5.0m CustomerA:Email
+ 13-Apr-05 10:05:00 13-Apr-05 11:30:00 1.42h CustomerB:Config
+ 13-Apr-05 09:30:00 13-Apr-05 10:00:00 30.0m Internal:Meeting:Tactical [Intelligent comment]
+ 2.00h Personal
+ 13-Apr-05 12:00:00 13-Apr-05 13:30:00 1.50h Lunch
+ 13-Apr-05 11:30:00 13-Apr-05 12:00:00 30.0m Walk
+--------------------------------------------------
+
+end test
+
+test bal --time-report --time-colon
+ 13-Apr-05 10:00:00 13-Apr-05 10:05:00 5:0m CustomerA:Email
+ 13-Apr-05 10:05:00 13-Apr-05 11:30:00 1:25h CustomerB:Config
+ 13-Apr-05 09:30:00 13-Apr-05 10:00:00 30:0m Internal:Meeting:Tactical [Intelligent comment]
+ 2:00h Personal
+ 13-Apr-05 12:00:00 13-Apr-05 13:30:00 1:30h Lunch
+ 13-Apr-05 11:30:00 13-Apr-05 12:00:00 30:0m Walk
+--------------------------------------------------
+
+end test
+