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:
Paul Beckingham 2013-09-01 15:18:04 -04:00
parent 6f85dac5b8
commit 56c2326fda
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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");