tests: Fix compile for tst_pluginspec

Change-Id: Ie15dd6834c196ef95eb1899e71fed92a0519f9c2
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Christian Stenger
2013-02-28 18:00:11 +01:00
parent e8aebf9f10
commit 6ef0c4093b

View File

@@ -68,7 +68,7 @@ void tst_PluginSpec::read()
QCOMPARE(spec.version, QString("1.0.1"));
QCOMPARE(spec.compatVersion, QString("1.0.0"));
QCOMPARE(spec.experimental, false);
QCOMPARE(spec.enabled, true);
QCOMPARE(spec.enabledInSettings, true);
QCOMPARE(spec.vendor, QString("Digia Plc"));
QCOMPARE(spec.copyright, QString("(C) 2013 Digia Plc"));
QCOMPARE(spec.license, QString("This is a default license bla\nblubbblubb\nend of terms"));
@@ -185,7 +185,7 @@ void tst_PluginSpec::experimental()
Internal::PluginSpecPrivate spec(0);
QVERIFY(spec.read("testspecs/simplespec_experimental.xml"));
QCOMPARE(spec.experimental, true);
QCOMPARE(spec.enabled, false);
QCOMPARE(spec.enabledInSettings, false);
}
void tst_PluginSpec::locationAndPath()