summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarko Minkkinen <marko.minkkinen@digia.com>2011-03-16 15:21:43 +0200
committerMarko Minkkinen <marko.minkkinen@digia.com>2011-03-16 15:21:43 +0200
commit73900e56b193897388d5f8bd18e3e8f9bba80496 (patch)
treea4673b6098b340f8a27bbb3781acec9ebe83f503
parentcaba9851daa9b3a7feb2593bbb1232c304d33e4e (diff)
Remove test adjusted for Symbian
-rw-r--r--tests/tst_qmailstore/tst_qmailstore.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tst_qmailstore/tst_qmailstore.cpp b/tests/tst_qmailstore/tst_qmailstore.cpp
index 3db71a30..d89d809f 100644
--- a/tests/tst_qmailstore/tst_qmailstore.cpp
+++ b/tests/tst_qmailstore/tst_qmailstore.cpp
@@ -1334,7 +1334,13 @@ void tst_QMailStore::remove1000Messages()
//without message removal record
+#if defined(Q_OS_SYMBIAN)
+ // Adding & removing large amounts of messages is really slow on Symbian platform
+ // => 10 messages is used for testing (not 1000)
+ static const int largeMessageCount = 10;
+#else
static const int largeMessageCount = 1000;
+#endif
for(int i = 0; i < largeMessageCount; ++i)
{