void KSecretServiceTest::cleanupTestCase() { if (collection->isValid().result()) { collection->deleteCollection(); } cleanupKeyring(); QString configPath = QStandardPaths::locate( QStandardPaths::ConfigLocation, sharedConfig->name()); qDebug() << "removing config file " << configPath; QFile(configPath).remove(); }