From 095aacf39b00da39bc5843b5edb72b611a5992ff Mon Sep 17 00:00:00 2001 From: tripun Date: Sun, 10 Aug 2014 00:15:38 +0530 Subject: add test for --time-report --- test/baseline/opt-time-report.test | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'test') 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 + -- cgit v1.2.3