summaryrefslogtreecommitdiff
path: root/tests/auto/extensionsystem/pluginspec/tst_pluginspec.cpp
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2010-12-03 11:14:01 +1000
committerBill King <bill.king@nokia.com>2010-12-03 11:14:01 +1000
commit4507d6434576015a5c705c22a57ba012fd706d32 (patch)
treea2f77e9333c7ecd0e2dbeaf02589466cfdc1b680 /tests/auto/extensionsystem/pluginspec/tst_pluginspec.cpp
parentc6a4c233eb10710fab14e6b804c97f383e607291 (diff)
downloadqt-creator-4507d6434576015a5c705c22a57ba012fd706d32.tar.gz
tests: make compile
Diffstat (limited to 'tests/auto/extensionsystem/pluginspec/tst_pluginspec.cpp')
-rw-r--r--tests/auto/extensionsystem/pluginspec/tst_pluginspec.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/extensionsystem/pluginspec/tst_pluginspec.cpp b/tests/auto/extensionsystem/pluginspec/tst_pluginspec.cpp
index b058c35bb9..bd9de649f4 100644
--- a/tests/auto/extensionsystem/pluginspec/tst_pluginspec.cpp
+++ b/tests/auto/extensionsystem/pluginspec/tst_pluginspec.cpp
@@ -192,14 +192,14 @@ void tst_PluginSpec::locationAndPath()
{
Internal::PluginSpecPrivate spec(0);
QVERIFY(spec.read("testspecs/simplespec.xml"));
- QCOMPARE(spec.location, QDir::currentPath()+"/testspecs");
- QCOMPARE(spec.filePath, QDir::currentPath()+"/testspecs/simplespec.xml");
+ QCOMPARE(spec.location, QString(QDir::currentPath()+"/testspecs"));
+ QCOMPARE(spec.filePath, QString(QDir::currentPath()+"/testspecs/simplespec.xml"));
QVERIFY(spec.read("testdir/../testspecs/simplespec.xml"));
- QCOMPARE(spec.location, QDir::currentPath()+"/testspecs");
- QCOMPARE(spec.filePath, QDir::currentPath()+"/testspecs/simplespec.xml");
+ QCOMPARE(spec.location, QString(QDir::currentPath()+"/testspecs"));
+ QCOMPARE(spec.filePath, QString(QDir::currentPath()+"/testspecs/simplespec.xml"));
QVERIFY(spec.read("testdir/spec.xml"));
- QCOMPARE(spec.location, QDir::currentPath()+"/testdir");
- QCOMPARE(spec.filePath, QDir::currentPath()+"/testdir/spec.xml");
+ QCOMPARE(spec.location, QString(QDir::currentPath()+"/testdir"));
+ QCOMPARE(spec.filePath, QString(QDir::currentPath()+"/testdir/spec.xml"));
}
void tst_PluginSpec::resolveDependencies()