summaryrefslogtreecommitdiffstats
path: root/tests/auto/qftp/tst_qftp.cpp
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-11-24 12:14:21 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-11-24 12:18:35 (GMT)
commit31036a9e1b09b1d18043e55d3134a2d911d694c0 (patch)
treea3a58dc21cc2dbd6925f6e93e56c302d35fe8655 /tests/auto/qftp/tst_qftp.cpp
parent056f8d08efc7ef57b36a22b37a0bc2bd4e7cfa94 (diff)
downloadQt-31036a9e1b09b1d18043e55d3134a2d911d694c0.zip
Qt-31036a9e1b09b1d18043e55d3134a2d911d694c0.tar.gz
Qt-31036a9e1b09b1d18043e55d3134a2d911d694c0.tar.bz2
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/tst_qftp.cpp')
-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 1e7f424..13d0f0b 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()