ember/test/TestServices.cpp
Martin Pollard a09dfc7709 2002-10-10 M Pollard <circlemaster@blueyonder.co.uk>
* test/Makefile.am, StateManagerTest.cpp, TestServices.cpp: cut
          out StateManager from the tests till I've finished redoing it.

        * StateManager.cpp, StateManager.h: stripping this down, need to
          do things another way.

        * Label.h, Console.cpp, Console.h: Changed FONT_FILE to a static
          const char* const, changed to wf_opal.ttf.

        * configure.ac: bumped required sigc++-1.2 version to 1.2.1 .
2002-10-26 15:03:40 +00:00

31 lines
715 B
C++

#ifdef USE_CPP_UNIT
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>
#include "DataModelTest.h"
#include "InputServiceTest.h"
//#include "StateManagerTest.h"
CPPUNIT_TEST_SUITE_REGISTRATION( dime::DataModelTestCase );
CPPUNIT_TEST_SUITE_REGISTRATION( dime::InputServiceTestCase );
//CPPUNIT_TEST_SUITE_REGISTRATION( dime::StateManagerTestCase );
bool runTests()
{
CppUnit::TextUi::TestRunner runner;
CppUnit::TestFactoryRegistry &registry = CppUnit::TestFactoryRegistry::getRegistry();
runner.addTest( registry.makeTest() );
bool wasSucessful = runner.run( "", false );
return wasSucessful;
}
#else
bool runTests()
{
return true;
}
#endif