ember/test/TestServices.cpp
Martin Pollard 98198685f6 2002-12-07 M Pollard <circlemaster@blueyonder.co.uk>
* NEWS: update

        * RendererFactory.cpp: Added TILE support.

        * TextBox.h Label.h: Sorted out argument ordering.

        * Button.h: Tidy up and added another constructor.

        * GuiService.cpp/h: Added Console, TextBox, Button and reordered args
          for Label changes.

        * TestServices.cpp: Cut datamodel test.

        * StateManager.cpp: Delete old code.

        * states.xml: Added remaining widgets.
2002-12-07 19:06:39 +00:00

31 lines
719 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