mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-23 14:36:44 +02:00
Remove support for the F4 format (#3494)
This was only still used in tests.
This commit is contained in:
parent
f1460013be
commit
9cd1b96e1f
4 changed files with 34 additions and 204 deletions
|
@ -63,34 +63,38 @@ int main (int, char**)
|
|||
context.config.set ("indent.annotation", "2");
|
||||
|
||||
// Two sample tasks.
|
||||
Task t1 ("["
|
||||
"status:\"pending\" "
|
||||
"uuid:\"2a64f6e0-bf8e-430d-bf71-9ec3f0d9b661\" "
|
||||
"description:\"This is the description text\" "
|
||||
"project:\"Home\" "
|
||||
"priority:\"H\" "
|
||||
"annotation_1234567890:\"This is an annotation\" "
|
||||
"start:\"1234567890\" "
|
||||
"due:\"1234567890\" "
|
||||
"tags:\"one,two\""
|
||||
"]");
|
||||
t.ok(true, "zero");
|
||||
Task t1 ("{"
|
||||
"\"status\":\"pending\", "
|
||||
"\"uuid\":\"2a64f6e0-bf8e-430d-bf71-9ec3f0d9b661\", "
|
||||
"\"description\":\"This is the description text\", "
|
||||
"\"project\":\"Home\", "
|
||||
"\"priority\":\"H\", "
|
||||
"\"annotation_1234567890\":\"This is an annotation\", "
|
||||
"\"start\":\"1234567890\", "
|
||||
"\"due\":\"1234567890\", "
|
||||
"\"tags\":\"one,two\""
|
||||
"}");
|
||||
t1.id = 1;
|
||||
Task t2 ("["
|
||||
"status:\"pending\" "
|
||||
"uuid:\"f30cb9c3-3fc0-483f-bfb2-3bf134f00694\" "
|
||||
"description:\"This is the description text\" "
|
||||
"project:\"Garden Care\" "
|
||||
"recur:\"monthly\" "
|
||||
"depends:\"2a64f6e0-bf8e-430d-bf71-9ec3f0d9b661\""
|
||||
"]");
|
||||
t.ok(true, "one");
|
||||
Task t2 ("{"
|
||||
"\"status\":\"pending\", "
|
||||
"\"uuid\":\"f30cb9c3-3fc0-483f-bfb2-3bf134f00694\", "
|
||||
"\"description\":\"This is the description text\", "
|
||||
"\"project\":\"Garden Care\", "
|
||||
"\"recur\":\"monthly\", "
|
||||
"\"depends\":\"2a64f6e0-bf8e-430d-bf71-9ec3f0d9b661\""
|
||||
"}");
|
||||
t2.id = 11;
|
||||
Task t3 ("["
|
||||
"status:\"pending\" "
|
||||
"uuid:\"c44cb9c3-3fc0-483f-bfb2-3bf134f05554\" "
|
||||
"description:\"Another description\" "
|
||||
"project:\"Garden\" "
|
||||
"]");
|
||||
t.ok(true, "two");
|
||||
Task t3 ("{"
|
||||
"\"status\":\"pending\", "
|
||||
"\"uuid\":\"c44cb9c3-3fc0-483f-bfb2-3bf134f05554\", "
|
||||
"\"description\":\"Another description\", "
|
||||
"\"project\":\"Garden\""
|
||||
"}");
|
||||
t3.id = 8;
|
||||
t.ok(true, "three");
|
||||
|
||||
std::vector <Task> data;
|
||||
data.push_back (t1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue