blob: d918350551d4af3d45e957b18eb605f2a46fb58b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
@if "%{TestFrameWork}" == "QtQuickTest"
#include <QtQuickTest/quicktest.h>
QUICK_TEST_MAIN(example)
@else
%{Cpp:LicenseTemplate}\
#include "%{TestCaseFileWithHeaderSuffix}"
#include <gtest/gtest.h>
int main(int argc, char *argv[])
{
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
@endif
|