2013-11-10 20:14:10 +00:00
|
|
|
#include "BaseTestCase.h"
|
2013-10-31 21:53:22 +00:00
|
|
|
#include <QtCore/QDebug>
|
2013-11-10 20:14:10 +00:00
|
|
|
#include "../rendering/main.h"
|
2013-10-31 21:53:22 +00:00
|
|
|
|
|
|
|
void noMessageOutput(QtMsgType, const QMessageLogContext&, const QString&)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2013-11-10 20:14:10 +00:00
|
|
|
int main(int argc, char **argv)
|
2013-10-31 21:53:22 +00:00
|
|
|
{
|
2013-11-10 20:14:10 +00:00
|
|
|
int result;
|
|
|
|
|
2013-11-10 16:03:07 +00:00
|
|
|
paysagesInit();
|
|
|
|
|
2013-10-31 21:53:22 +00:00
|
|
|
qInstallMessageHandler(noMessageOutput);
|
|
|
|
|
2013-11-10 20:14:10 +00:00
|
|
|
testing::InitGoogleTest(&argc, argv);
|
|
|
|
result = RUN_ALL_TESTS();
|
2013-10-31 21:53:22 +00:00
|
|
|
|
2013-11-10 16:03:07 +00:00
|
|
|
paysagesQuit();
|
|
|
|
|
2013-11-10 20:14:10 +00:00
|
|
|
return result;
|
2013-10-31 21:53:22 +00:00
|
|
|
}
|
|
|
|
|