this feature is no longer tied to QCA
This commit is contained in:
parent
840ae26b2d
commit
b0c769c4c1
@ -28,16 +28,8 @@
|
||||
#include "plasma/applet.h"
|
||||
#include "plasma/packagemetadata.h"
|
||||
|
||||
#ifdef QCA2_FOUND
|
||||
#include <QtCrypto>
|
||||
#endif
|
||||
|
||||
void PlasmoidPackageTest::init()
|
||||
{
|
||||
#ifdef QCA2_FOUND
|
||||
QCA::Initializer *cryptoInit = new QCA::Initializer;
|
||||
Q_UNUSED(cryptoInit);
|
||||
#endif
|
||||
mPackage = QString("Package");
|
||||
mPackageRoot = QDir::homePath() + "/.kde-unit-test/packageRoot";
|
||||
ps = Plasma::Applet::packageStructure();
|
||||
@ -182,9 +174,7 @@ void PlasmoidPackageTest::isValid()
|
||||
delete p;
|
||||
p = new Plasma::Package(mPackageRoot, mPackage, ps);
|
||||
QVERIFY(p->isValid());
|
||||
#ifdef QCA2_FOUND
|
||||
QCOMPARE(p->contentsHash(), QString("db0b38c2b4fe21a9f37923cc25152340de055f6d"));
|
||||
#endif
|
||||
}
|
||||
|
||||
void PlasmoidPackageTest::filePath()
|
||||
|
Loading…
Reference in New Issue
Block a user