mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-28 12:34:31 +00:00
test: Remove unused variable
This commit is contained in:
parent
8b171279e9
commit
957e8ab4be
@ -126,18 +126,10 @@ private Q_SLOTS:
|
|||||||
void testDetachedSign();
|
void testDetachedSign();
|
||||||
void testSignaturesWithExpiredSubkeys();
|
void testSignaturesWithExpiredSubkeys();
|
||||||
void testEncryptionWithExpiredSubkeys();
|
void testEncryptionWithExpiredSubkeys();
|
||||||
private:
|
|
||||||
QCA::Initializer* m_init;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void PgpUnitTest::initTestCase()
|
void PgpUnitTest::initTestCase()
|
||||||
{
|
{
|
||||||
// instead of initializing qca once, we will initialize it for every
|
|
||||||
// test case. this is the only way to get the keystore subsystem
|
|
||||||
// to reload, which we need to do if we want qca-gnupg to respect
|
|
||||||
// changes to $GNUPGHOME.
|
|
||||||
//m_init = new QCA::Initializer;
|
|
||||||
|
|
||||||
// Change current directory to executable directory
|
// Change current directory to executable directory
|
||||||
// it is need to find keys*_work directories
|
// it is need to find keys*_work directories
|
||||||
if (!QCoreApplication::applicationDirPath().isEmpty())
|
if (!QCoreApplication::applicationDirPath().isEmpty())
|
||||||
@ -146,7 +138,6 @@ void PgpUnitTest::initTestCase()
|
|||||||
|
|
||||||
void PgpUnitTest::cleanupTestCase()
|
void PgpUnitTest::cleanupTestCase()
|
||||||
{
|
{
|
||||||
//delete m_init;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void PgpUnitTest::testKeyRing()
|
void PgpUnitTest::testKeyRing()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user