work in progress

This commit is contained in:
jamesclonk@jamesclonk.ch
2014-01-03 17:35:38 +01:00
parent 9572ff63d9
commit 510c61ffb3
6 changed files with 387 additions and 74 deletions

10
testdata/expected_todo.txt vendored Normal file
View File

@@ -0,0 +1,10 @@
(A) 2012-01-30 Call Mom @Call @Phone +Family
(A) Schedule annual checkup +Health
(B) 2013-12-01 Outline chapter 5 @Computer +Novel Level:5 private:false due:2014-02-17
(C) Add cover sheets @Office +TPSReports
Plan backyard herb garden @Home +Gardening +Improving +Planning
2013-02-22 Pick up milk @GroceryStore
Research self-publishing services +Novel due:2014-01-01
x Download Todo.txt mobile app @Phone
Turn off TV @Electricity @Home @Television Importance:Very!
x 2014-01-03 Create golang library @Go +go-todotxt due:2014-01-05

54
testdata/input_todo.txt vendored Normal file
View File

@@ -0,0 +1,54 @@
# String test cases
2013-02-22 Pick up milk @GroceryStore
x Download Todo.txt mobile app @Phone
(B) 2013-12-01 private:false Outline chapter 5 +Novel @Computer Level:5 due:2014-02-17
x 2014-01-02 (B) 2013-12-30 Create golang library test cases @Go +go-todotxt
x 2014-01-03 2014-01-01 Create some more golang library test cases @Go +go-todotxt
# Priority test cases
(B) 2013-12-01 private:false Outline chapter 5 +Novel @Computer Level:5 due:2014-02-17
x (C) 2014-01-01 Create golang library documentation @Go +go-todotxt due:2014-01-12
x 2014-01-02 (B) 2013-12-30 Create golang library test cases @Go +go-todotxt
+Gardening Plan backyard herb garden +Planning @Home +Improving
# CreatedDate test cases
(A) 2012-01-30 @Phone Call Mom @Call +Family
2013-02-22 Pick up milk @GroceryStore
x 2014-01-02 (B) 2013-12-30 Create golang library test cases @Go +go-todotxt
x 2014-01-03 2014-01-01 Create some more golang library test cases @Go +go-todotxt
(C) Add cover sheets @Office +TPSReports
# Contexts test cases
(A) 2012-01-30 @Phone Call Mom @Call +Family
(C) Add cover sheets @Office +TPSReports
@Home Turn off TV @Electricity @Television @Electricity Importance:Very!
Research self-publishing services +Novel +Novel +Novel due:2014-01-01
# Projects test cases
+Gardening Plan backyard herb garden +Planning @Home +Improving
Research self-publishing services +Novel +Novel +Novel due:2014-01-01
@Home Turn off TV @Electricity @Television @Electricity Importance:Very!
# DueDate test cases
(B) 2013-12-01 private:false Outline chapter 5 +Novel @Computer due:2014-02-17 Level:5
x 2014-01-02 (B) 2013-12-30 Create golang library test cases @Go +go-todotxt
# AdditionalTags test cases
(B) 2013-12-01 private:false Outline chapter 5 +Novel @Computer Level:5 due:2014-02-17
@Home Turn off TV @Electricity @Television @Electricity Importance:Very!
x (C) 2014-01-01 Create golang library documentation @Go +go-todotxt due:2014-01-12
(A) 2012-01-30 @Phone Call Mom @Call +Family
# Completed test cases
x Create golang library @Go +go-todotxt due:2014-01-05
x 2014-01-03 Create golang library @Go +go-todotxt due:2014-01-05
x 2014-01-02 (B) 2013-12-30 Create golang library test cases @Go +go-todotxt
xylophone lesson
X 2012-01-01 Make resolutions
# CompletedDate test cases
x Download Todo.txt mobile app @Phone
x 2014-01-03 Create golang library @Go +go-todotxt due:2014-01-05
x (C) 2014-01-01 Create golang library documentation @Go +go-todotxt due:2014-01-12
x 2014-01-02 (B) 2013-12-30 Create golang library test cases @Go +go-todotxt
x 2014-01-03 2014-01-01 Create some more golang library test cases @Go +go-todotxt