adapt to the new Package API
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878955
This commit is contained in:
parent
4b8da2000a
commit
21daad5ce1
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user