15 lines
347 B
C++
15 lines
347 B
C++
|
#include <cppunit/extensions/TestFactoryRegistry.h>
|
||
|
#include <cppunit/ui/text/TestRunner.h>
|
||
|
|
||
|
#include <glibmm/thread.h>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
Glib::thread_init();
|
||
|
CppUnit::TextUi::TestRunner runner;
|
||
|
CppUnit::TestFactoryRegistry ®istry = CppUnit::TestFactoryRegistry::getRegistry();
|
||
|
runner.addTest (registry.makeTest());
|
||
|
runner.run();
|
||
|
return 0;
|
||
|
}
|