MCPcopy Create free account
hub / github.com/Skycoder42/QtAutoUpdater / config

Method config

tests/auto/plugins/WebQueryTest/tst_webquery.cpp:57–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57QVariantMap WebQueryTest::config()
58{
59 return {
60 {QStringLiteral("check/url"), _server->checkUrl()},
61 {QStringLiteral("check/autoQuery"), _autoQuery},
62 {QStringLiteral("check/parser"), _parser},
63
64#ifdef Q_OS_WIN
65 {QStringLiteral("install/tool"), QStringLiteral("python")},
66#else
67 {QStringLiteral("install/tool"), QStringLiteral("python3")},
68#endif
69 {QStringLiteral("install/parallel"), true},
70 {QStringLiteral("install/arguments"), QStringList {
71 QStringLiteral(SRCDIR "installer.py"),
72 _server->installUrl().toString(QUrl::FullyEncoded)
73 }},
74 {QStringLiteral("install/addDataArgs"), true},
75 {QStringLiteral("install/runAsAdmin"), false}
76 };
77}
78
79QVariantMap WebQueryTest::performConfig()
80{

Callers

nothing calls this directly

Calls 2

checkUrlMethod · 0.80
installUrlMethod · 0.80

Tested by

no test coverage detected