diff options
Diffstat (limited to 'tests/benchmarks/network/access/qnetworkdiskcache/tst_qnetworkdiskcache.cpp')
-rw-r--r-- | tests/benchmarks/network/access/qnetworkdiskcache/tst_qnetworkdiskcache.cpp | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/tests/benchmarks/network/access/qnetworkdiskcache/tst_qnetworkdiskcache.cpp b/tests/benchmarks/network/access/qnetworkdiskcache/tst_qnetworkdiskcache.cpp index ddbf6c40d0..3e1168e6fc 100644 --- a/tests/benchmarks/network/access/qnetworkdiskcache/tst_qnetworkdiskcache.cpp +++ b/tests/benchmarks/network/access/qnetworkdiskcache/tst_qnetworkdiskcache.cpp @@ -111,11 +111,6 @@ void tst_qnetworkdiskcache::timeInsertion_data() QString cacheLoc = QDesktopServices::storageLocation(QDesktopServices::CacheLocation); QTest::newRow("QDesktopServices Cache Location") << cacheLoc; -#ifdef Q_OS_SYMBIAN - if (QDir::drives().contains(QFileInfo("E:\\"))) - QTest::newRow("Symbian E: drive") << cacheLoc.replace(0, 1, QString("E")); -#endif - } //This functions times an insert() operation. @@ -177,11 +172,6 @@ void tst_qnetworkdiskcache::timeRead_data() QString cacheLoc = QDesktopServices::storageLocation(QDesktopServices::CacheLocation); QTest::newRow("QDesktopServices Cache Location") << cacheLoc; -#ifdef Q_OS_SYMBIAN - if (QDir::drives().contains(QFileInfo("E:\\"))) - QTest::newRow("Symbian E: drive") << cacheLoc.replace(0, 1, QString("E")); -#endif - } //Times metadata as well payload lookup @@ -241,11 +231,6 @@ void tst_qnetworkdiskcache::timeRemoval_data() QString cacheLoc = QDesktopServices::storageLocation(QDesktopServices::CacheLocation); QTest::newRow("QDesktopServices Cache Location") << cacheLoc; -#ifdef Q_OS_SYMBIAN - if (QDir::drives().contains(QFileInfo("E:\\"))) - QTest::newRow("Symbian E: drive") << cacheLoc.replace(0, 1, QString("E")); -#endif - } void tst_qnetworkdiskcache::timeRemoval() @@ -296,12 +281,8 @@ void tst_qnetworkdiskcache::timeExpiration_data() QString cacheLoc = QDesktopServices::storageLocation(QDesktopServices::CacheLocation); QTest::newRow("QDesktopServices Cache Location") << cacheLoc; -#ifdef Q_OS_SYMBIAN - if (QDir::drives().contains(QFileInfo("E:\\"))) - QTest::newRow("Symbian E: drive") << cacheLoc.replace(0, 1, QString("E")); -#endif - } + void tst_qnetworkdiskcache::timeExpiration() { |