mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Disabled the new parser temporarily. Because the test suite coverage is good, the new parser needs a complete set of entities, otherwise it whines too much during the tests. Let's just sweep that under the rug for now.
This commit is contained in:
parent
6f85dac5b8
commit
56c2326fda
2 changed files with 9 additions and 1 deletions
|
@ -85,7 +85,11 @@ int Context::initialize (int argc, const char** argv)
|
|||
|
||||
// Initialize the command line parser.
|
||||
a3t.initialize (argc, argv);
|
||||
Tree* parseTree = a3t.parse ();
|
||||
|
||||
// TODO Uncommenting this breaks unit tests because of the errors it
|
||||
// generates.
|
||||
Tree* parseTree = NULL;
|
||||
//Tree* parseTree = a3t.parse ();
|
||||
|
||||
// END EXPERIMENTAL CODE
|
||||
|
||||
|
|
|
@ -71,6 +71,10 @@ int main (int argc, const char** argv)
|
|||
// Helper commands.
|
||||
a3t.entity ("helper", "_get");
|
||||
a3t.entity ("helper", "_query");
|
||||
a3t.entity ("helper", "_ids");
|
||||
a3t.entity ("helper", "_uuids");
|
||||
a3t.entity ("helper", "_zshids");
|
||||
a3t.entity ("helper", "_zshuuids");
|
||||
|
||||
// Attributes (columns).
|
||||
a3t.entity ("attribute", "description");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue