mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
16 lines
451 B
C++
16 lines
451 B
C++
|
#include <QtGui/QGuiApplication>
|
||
|
#include <gmock/gmock.h>
|
||
|
|
||
|
int main(int argc, char** argv)
|
||
|
{
|
||
|
QGuiApplication app(argc, argv);
|
||
|
|
||
|
// disable the whole debug output (we want only the output from gtest)
|
||
|
// Debug::instance()->setDebugLevelLogFile(Debug::DebugLevel_t::Nothing);
|
||
|
// Debug::instance()->setDebugLevelStderr(Debug::DebugLevel_t::Nothing);
|
||
|
|
||
|
// init gtest and run all tests
|
||
|
::testing::InitGoogleMock(&argc, argv);
|
||
|
return RUN_ALL_TESTS();
|
||
|
}
|