summaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-03-18 14:13:46 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-03-18 14:13:46 +1000
commitef5cb7ffe2975252f1c8fba3e98536c979a993b3 (patch)
tree0b0187fbe1202d6dd03489e51035110f0f55a268 /benchmarks
parentb043e44aa621c6e3ecfb6670399eff128a87f7a6 (diff)
Fixes crash in tst_messageserver: ASSERT failure in QTest::fetchData():
"Test data requested, but no testdata available." The implementations of the testfunctions (*_impl) should not have been private slots as this caused testlib to effectively run them twice, and the _impl functions would crash as they cannot find their testdata.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/tst_messageserver/tst_messageserver.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/benchmarks/tst_messageserver/tst_messageserver.cpp b/benchmarks/tst_messageserver/tst_messageserver.cpp
index e376df12..e1ab74da 100644
--- a/benchmarks/tst_messageserver/tst_messageserver.cpp
+++ b/benchmarks/tst_messageserver/tst_messageserver.cpp
@@ -54,15 +54,12 @@ private slots:
void cleanup();
void completeRetrievalImap();
- void completeRetrievalImap_impl();
void completeRetrievalImap_data();
void removeMessages();
- void removeMessages_impl();
void removeMessages_data();
void replaceMessages();
- void replaceMessages_impl();
void replaceMessages_data();
protected slots:
@@ -70,6 +67,10 @@ protected slots:
void onProgressChanged(uint,uint);
private:
+ void completeRetrievalImap_impl();
+ void removeMessages_impl();
+ void replaceMessages_impl();
+
void compareMessages(QMailMessageIdList const&, TestMailList const&);
void waitForActivity(QMailServiceAction*, QMailServiceAction::Activity, int);
void addAccount(QMailAccount*, QString const&, QString const&, QString const&, QString const&, int);