paysages3d/src/tests/main.cpp

22 lines
386 B
C++
Raw Normal View History

2013-11-10 20:14:10 +00:00
#include "BaseTestCase.h"
2013-12-11 09:17:36 +00:00
2013-10-31 21:53:22 +00:00
#include <QtCore/QDebug>
#include "Logs.h"
2013-10-31 21:53:22 +00:00
void noMessageOutput(QtMsgType, const QMessageLogContext &, const QString &) {
2013-10-31 21:53:22 +00:00
}
int main(int argc, char **argv) {
2013-11-10 20:14:10 +00:00
int result;
2013-10-31 21:53:22 +00:00
qInstallMessageHandler(noMessageOutput);
2015-11-20 00:04:21 +00:00
#ifdef NDEBUG
Logs::disable();
2015-11-20 00:04:21 +00:00
#endif
2013-10-31 21:53:22 +00:00
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 20:14:10 +00:00
return result;
2013-10-31 21:53:22 +00:00
}