- Added TDB2::clear and TF2::clear methods.
This commit is contained in:
Paul Beckingham 2011-08-28 08:13:41 -04:00
parent 8ec130d3c0
commit 0f627bd44e
3 changed files with 42 additions and 0 deletions

View file

@ -97,6 +97,12 @@ int main (int argc, char** argv)
t.is ((int) backlog.size (), 2, "TDB2 after add, 2 backlog task");
t.is ((int) synch_key.size (), 0, "TDB2 after add, 0 synch_key");
context.tdb2.commit ();
// Reset for reuse.
context.tdb2.clear ();
context.tdb2.set_location (".");
// TODO commit
// TODO complete a task
// TODO gc