summaryrefslogtreecommitdiffstats
path: root/tests/auto/qftp
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-11-24 13:14:21 +0100
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-11-24 13:18:35 +0100
commit31036a9e1b09b1d18043e55d3134a2d911d694c0 (patch)
treea3a58dc21cc2dbd6925f6e93e56c302d35fe8655 /tests/auto/qftp
parent056f8d08efc7ef57b36a22b37a0bc2bd4e7cfa94 (diff)
tst_qftp: Test upload with 1MB instead of not-at-all on Symbian
Reviewed-by: Aleksandar Sasha Babic <aleksandar.babic@nokia.com>
Diffstat (limited to 'tests/auto/qftp')
-rw-r--r--tests/auto/qftp/tst_qftp.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/qftp/tst_qftp.cpp b/tests/auto/qftp/tst_qftp.cpp
index 1e7f4244d6..13d0f0becd 100644
--- a/tests/auto/qftp/tst_qftp.cpp
+++ b/tests/auto/qftp/tst_qftp.cpp
@@ -1295,10 +1295,11 @@ void tst_QFtp::abort_data()
// Qt/CE and Symbian test environment has to less memory for this test
#if !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
QByteArray bigData( 10*1024*1024, 0 );
+#else
+ QByteArray bigData( 1*1024*1024, 0 );
+#endif
bigData.fill( 'B' );
-
QTest::newRow( "put_fluke01" ) << QtNetworkSettings::serverName() << (uint)21 << QString("qtest/upload/abort_put") << bigData;
-#endif
}
void tst_QFtp::abort()