diff options
Diffstat (limited to 'examples/imapresource/tests')
-rw-r--r-- | examples/imapresource/tests/imapmailsyncbenchmark.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/imapresource/tests/imapmailsyncbenchmark.cpp b/examples/imapresource/tests/imapmailsyncbenchmark.cpp index 824b769..a53c148 100644 --- a/examples/imapresource/tests/imapmailsyncbenchmark.cpp +++ b/examples/imapresource/tests/imapmailsyncbenchmark.cpp | |||
@@ -90,17 +90,12 @@ private slots: | |||
90 | 90 | ||
91 | void cleanup() | 91 | void cleanup() |
92 | { | 92 | { |
93 | //TODO the shutdown job fails if the resource is already shut down | 93 | VERIFYEXEC(ResourceControl::shutdown(mResourceInstanceIdentifier)); |
94 | // VERIFYEXEC(ResourceControl::shutdown(mResourceInstanceIdentifier)); | ||
95 | ResourceControl::shutdown(mResourceInstanceIdentifier).exec().waitForFinished(); | ||
96 | removeResourceFromDisk(mResourceInstanceIdentifier); | 94 | removeResourceFromDisk(mResourceInstanceIdentifier); |
97 | } | 95 | } |
98 | 96 | ||
99 | void init() | 97 | void init() |
100 | { | 98 | { |
101 | qDebug(); | ||
102 | qDebug() << "-----------------------------------------"; | ||
103 | qDebug(); | ||
104 | VERIFYEXEC(ResourceControl::start(mResourceInstanceIdentifier)); | 99 | VERIFYEXEC(ResourceControl::start(mResourceInstanceIdentifier)); |
105 | } | 100 | } |
106 | 101 | ||