equal
deleted
inserted
replaced
173 { |
173 { |
174 } |
174 } |
175 |
175 |
176 void tst_qfile::readBigFile_QFile() { readBigFile(); } |
176 void tst_qfile::readBigFile_QFile() { readBigFile(); } |
177 void tst_qfile::readBigFile_QFSFileEngine() { readBigFile(); } |
177 void tst_qfile::readBigFile_QFSFileEngine() { readBigFile(); } |
178 void tst_qfile::readBigFile_posix() { readBigFile(); } |
178 void tst_qfile::readBigFile_posix() |
|
179 { |
|
180 readBigFile(); |
|
181 } |
179 void tst_qfile::readBigFile_Win32() { readBigFile(); } |
182 void tst_qfile::readBigFile_Win32() { readBigFile(); } |
180 |
183 |
181 void tst_qfile::readBigFile_QFile_data() |
184 void tst_qfile::readBigFile_QFile_data() |
182 { |
185 { |
183 readBigFile_data(QFileBenchmark, QIODevice::NotOpen, QIODevice::NotOpen); |
186 readBigFile_data(QFileBenchmark, QIODevice::NotOpen, QIODevice::NotOpen); |
474 } |
477 } |
475 |
478 |
476 |
479 |
477 void tst_qfile::readSmallFiles_QFile() { readSmallFiles(); } |
480 void tst_qfile::readSmallFiles_QFile() { readSmallFiles(); } |
478 void tst_qfile::readSmallFiles_QFSFileEngine() { readSmallFiles(); } |
481 void tst_qfile::readSmallFiles_QFSFileEngine() { readSmallFiles(); } |
479 void tst_qfile::readSmallFiles_posix() { readSmallFiles(); } |
482 void tst_qfile::readSmallFiles_posix() |
480 void tst_qfile::readSmallFiles_Win32() { readSmallFiles(); } |
483 { |
|
484 readSmallFiles(); |
|
485 } |
|
486 void tst_qfile::readSmallFiles_Win32() |
|
487 { |
|
488 readSmallFiles(); |
|
489 } |
481 |
490 |
482 void tst_qfile::readSmallFiles_QFile_data() |
491 void tst_qfile::readSmallFiles_QFile_data() |
483 { |
492 { |
484 readSmallFiles_data(QFileBenchmark, QIODevice::NotOpen, QIODevice::NotOpen); |
493 readSmallFiles_data(QFileBenchmark, QIODevice::NotOpen, QIODevice::NotOpen); |
485 readSmallFiles_data(QFileBenchmark, QIODevice::NotOpen, QIODevice::Unbuffered); |
494 readSmallFiles_data(QFileBenchmark, QIODevice::NotOpen, QIODevice::Unbuffered); |
532 QDir dir = QDir::temp(); |
541 QDir dir = QDir::temp(); |
533 dir.mkdir("tst"); |
542 dir.mkdir("tst"); |
534 dir.cd("tst"); |
543 dir.cd("tst"); |
535 tmpDirName = dir.absolutePath(); |
544 tmpDirName = dir.absolutePath(); |
536 |
545 |
537 #ifdef Q_OS_SYMBIAN |
546 #if defined(Q_OS_SYMBIAN) || defined(Q_WS_WINCE) |
538 for (int i = 0; i < 100; ++i) |
547 for (int i = 0; i < 100; ++i) |
539 #else |
548 #else |
540 for (int i = 0; i < 1000; ++i) |
549 for (int i = 0; i < 1000; ++i) |
541 #endif |
550 #endif |
542 { |
551 { |