diff options
Diffstat (limited to 'tests/dummyresourcewritebenchmark.cpp')
-rw-r--r-- | tests/dummyresourcewritebenchmark.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/dummyresourcewritebenchmark.cpp b/tests/dummyresourcewritebenchmark.cpp index 3e8f4c5..1e7f1ef 100644 --- a/tests/dummyresourcewritebenchmark.cpp +++ b/tests/dummyresourcewritebenchmark.cpp | |||
@@ -213,6 +213,11 @@ private Q_SLOTS: | |||
213 | QVERIFY(timeStandardDeviation < 1); | 213 | QVERIFY(timeStandardDeviation < 1); |
214 | } | 214 | } |
215 | 215 | ||
216 | void getFreePages() | ||
217 | { | ||
218 | std::system(QString("mdb_stat %1/%2 -ff").arg(Akonadi2::storageLocation()).arg("org.kde.dummy.instance1").toLatin1().constData()); | ||
219 | } | ||
220 | |||
216 | //This allows to run individual parts without doing a cleanup, but still cleaning up normally | 221 | //This allows to run individual parts without doing a cleanup, but still cleaning up normally |
217 | void testCleanupForCompleteTest() | 222 | void testCleanupForCompleteTest() |
218 | { | 223 | { |