mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-05 04:54:20 -04:00
Move QTEST_GUILESS_MAIN statements before test cases.
This commit is contained in:
parent
ea3375490c
commit
77af79498c
21 changed files with 40 additions and 41 deletions
|
@ -46,6 +46,8 @@
|
|||
#include "tests.h"
|
||||
#include "core/qcommandlineparser.h"
|
||||
|
||||
QTEST_GUILESS_MAIN(TestQCommandLineParser)
|
||||
|
||||
Q_DECLARE_METATYPE(char**)
|
||||
|
||||
static char *empty_argv[] = { 0 };
|
||||
|
@ -412,5 +414,3 @@ void TestQCommandLineParser::testSingleDashWordOptionModes()
|
|||
QCOMPARE(parser.value(parser.optionNames().at(i)), expectedOptionValues.at(i));
|
||||
QCOMPARE(parser.unknownOptionNames(), QStringList());
|
||||
}
|
||||
|
||||
QTEST_GUILESS_MAIN(TestQCommandLineParser)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue