mirror of
https://github.com/worldforge/ember
synced 2026-08-13 16:23:06 -04:00
* 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.
31 lines
719 B
C++
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 ®istry = CppUnit::TestFactoryRegistry::getRegistry();
|
|
runner.addTest( registry.makeTest() );
|
|
bool wasSucessful = runner.run( "", false );
|
|
|
|
return wasSucessful;
|
|
}
|
|
|
|
#else
|
|
|
|
bool runTests()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
#endif
|