test for trust level
This commit is contained in:
parent
a51925dff1
commit
fda3603781
@ -82,6 +82,13 @@ void SigningTest::validPackage()
|
||||
QCOMPARE(m_signing->signerOf(m_package), fingerprint);
|
||||
}
|
||||
|
||||
void SigningTest::trustLevel()
|
||||
{
|
||||
QCOMPARE(m_signing->trustLevelOf(QString()), Plasma::UnverifiableTrust);
|
||||
QCOMPARE(m_signing->trustLevelOf(fingerprint), Plasma::SelfTrusted);
|
||||
//FIXME: need to test other TrustLevel values
|
||||
}
|
||||
|
||||
void SigningTest::confirmDtorPerformance()
|
||||
{
|
||||
QTime t;
|
||||
|
@ -46,6 +46,7 @@ private Q_SLOTS:
|
||||
void validSignature();
|
||||
void validSignatureWithoutDefinedSigFile();
|
||||
void validPackage();
|
||||
void trustLevel();
|
||||
void confirmDtorPerformance();
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user