ssu
Loading...
Searching...
No Matches
tests
ut_settings
main.cpp
Go to the documentation of this file.
1
7
8
#include <QtCore/QCoreApplication>
9
#include <QtTest/QtTest>
10
11
#include "
settingstest.h
"
12
#include "
upgradetesthelper.h
"
13
14
int
main(
int
argc,
char
**argv)
15
{
16
QCoreApplication app(argc, argv);
17
18
if
(app.arguments().contains(
"-generate-upgrade-test-recipe"
)) {
19
QTextStream out(stdout);
20
return
UpgradeTestHelper::generateSnapshotRecipe(&out) ? 0 : 1;
21
}
22
23
SettingsTest
settingsTest;
24
25
if
(QTest::qExec(&settingsTest, argc, argv))
26
return
1;
27
28
return
0;
29
}
SettingsTest
Definition
settingstest.h:14
settingstest.h
upgradetesthelper.h
Generated by
1.16.1