Add IApplication interface and hide the implementation

This commit is contained in:
Vinnie Falco
2013-06-11 06:29:43 -07:00
parent 124c28b0eb
commit e3d844de8f
11 changed files with 423 additions and 354 deletions

View File

@@ -10,7 +10,7 @@ using namespace boost::unit_test;
void setupServer()
{
theApp = new Application();
theApp = IApplication::New ();
theApp->setup();
}
@@ -43,7 +43,7 @@ void startServer()
bool init_unit_test()
{
theApp = new Application();
theApp = IApplication::New ();
return true;
}