mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5106 c8812cc2-4d05-0410-92ff-de0c093fc19c
30 lines
588 B
C++
30 lines
588 B
C++
#include <iostream>
|
|
|
|
//#include <qapplication.h>
|
|
//#include <cppunit/ui/qt/TestRunner.h>
|
|
|
|
#include <cppunit/ui/text/TestRunner.h>
|
|
#include <cppunit/extensions/TestFactoryRegistry.h>
|
|
|
|
|
|
#include "projecttest.h"
|
|
|
|
CPPUNIT_TEST_SUITE_REGISTRATION( ProjectTest );
|
|
|
|
int main( int , char **)
|
|
{
|
|
std::cout << "\n"
|
|
<< "QgsProject TESTS...................\n";
|
|
|
|
CppUnit::TextUi::TestRunner runner;
|
|
|
|
CppUnit::TestFactoryRegistry ®istry =
|
|
CppUnit::TestFactoryRegistry::getRegistry();
|
|
|
|
runner.addTest( registry.makeTest() );
|
|
|
|
runner.run();
|
|
|
|
return 0;
|
|
}
|