| 24 | } |
| 25 | |
| 26 | void ItemRepositoryTestBase::cleanupTestCase() |
| 27 | { |
| 28 | if (!m_repositoryDir.isValid()) { |
| 29 | return; // the repository has not been initialized => skip the cleanup |
| 30 | } |
| 31 | ItemRepositoryRegistry::deleteRepositoryFromDisk(m_repositoryDir.path()); |
| 32 | globalItemRepositoryRegistry().shutdown(); |
| 33 | } |
| 34 | |
| 35 | #include "moc_itemrepositorytestbase.cpp" |