adapt to the new Package API

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878955
This commit is contained in:
Pino Toscano 2008-11-02 09:26:59 +00:00
parent 4b8da2000a
commit 21daad5ce1

View File

@ -286,9 +286,9 @@ void PlasmoidPackageTest::metadata()
QString path = mPackageRoot + '/' + plasmoid + "/metadata.desktop"; QString path = mPackageRoot + '/' + plasmoid + "/metadata.desktop";
p = new Plasma::Package(mPackageRoot, plasmoid, ps); p = new Plasma::Package(mPackageRoot, plasmoid, ps);
const Plasma::PackageMetadata *metadata = p->metadata(); const Plasma::PackageMetadata metadata = p->metadata();
QVERIFY(metadata); QVERIFY(metadata.isValid());
QCOMPARE(metadata->name(), plasmoid); QCOMPARE(metadata.name(), plasmoid);
} }
void PlasmoidPackageTest::createAndInstallPackage() void PlasmoidPackageTest::createAndInstallPackage()