MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / check_JSPluginSpec

Method check_JSPluginSpec

tests/TestJSPlugin/test-JSPlugin.cpp:11–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10
11void TestJSPlugin::check_JSPluginSpec()
12{
13 QFETCH(QString, iniFileName);
14 QFETCH(QString, AppName);
15 QFETCH(QString, AppType);
16 QFETCH(QString, AppGUID);
17 QFETCH(int, ModuleCount);
18 QFETCH(int, ManifestVersion);
19 QFETCH(bool, isValid);
20
21 JSPluginSpec plugin(iniFileName, this);
22
23 QCOMPARE(plugin.name(), AppName);
24 QCOMPARE(plugin.type(), AppType);
25 QCOMPARE(plugin.guid(), AppGUID);
26 QCOMPARE(plugin.moduleCount(), ModuleCount);
27 QCOMPARE(plugin.manifestVersion(), ManifestVersion);
28 QCOMPARE(plugin.validate(), isValid);
29}
30
31
32void TestJSPlugin::check_JSPluginSpec_data()

Callers

nothing calls this directly

Calls 6

moduleCountMethod · 0.80
manifestVersionMethod · 0.80
nameMethod · 0.45
typeMethod · 0.45
guidMethod · 0.45
validateMethod · 0.45

Tested by

no test coverage detected