paysages3d/src/tests/main.cpp

21 lines
386 B
C++

#include "BaseTestCase.h"
#include <QtCore/QDebug>
#include "Logs.h"
void noMessageOutput(QtMsgType, const QMessageLogContext &, const QString &) {
}
int main(int argc, char **argv) {
int result;
qInstallMessageHandler(noMessageOutput);
#ifdef NDEBUG
Logs::disable();
#endif
testing::InitGoogleTest(&argc, argv);
result = RUN_ALL_TESTS();
return result;
}