Enhancements - Context integration

- Context now gathers messages and footnotes.
- task now calls into the new 1.8.0 code (via Context), then calls
  into the old 1.7.0 code.  Two for the price of one.
This commit is contained in:
Paul Beckingham 2009-06-04 22:14:03 -04:00
parent 024986fe88
commit 54f155f439
4 changed files with 62 additions and 19 deletions

View file

@ -37,10 +37,10 @@ int main (int argc, char** argv)
T2 t;
t.addTag ("tag1");
t.addTag ("tag2");
test.is (t.composeF4 (), "[tag:\"tag1&commatag2\" uuid:\"...\"]", "T2::addTag");
test.is (t.composeF4 (), "[tags:\"tag1,tag2\" uuid:\"...\"]", "T2::addTag");
T2 t2 (t.composeF4 ());
test.is (t2.composeF4 (), "[tag:\"tag1&commatag2\" uuid:\"...\"]", "T2::composeF4 -> parse round trip");
test.is (t2.composeF4 (), "[tags:\"tag1,tag2\" uuid:\"...\"]", "T2::composeF4 -> parse round trip");
// Round-trip testing.
T2 t3;