Unit tests

- New command line parser is live for DOM access and DOM testing.
This commit is contained in:
Paul Beckingham 2014-04-24 12:00:50 -04:00
parent 0dc73d759b
commit b01906cd62
2 changed files with 4 additions and 7 deletions

View file

@ -45,7 +45,8 @@ int main (int argc, char** argv)
try
{
// Prime the pump.
context.a3.capture ("task");
const char* fake_argv[] = {"task"};
context.a3t.initialize (1, fake_argv);
DOM dom;
t.is (dom.get ("system.version"), VERSION, "DOM system.version -> VERSION");