diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-12-11 11:03:17 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-12-11 11:41:11 (GMT) |
commit | 8a09d0dfe1010a4b56afa448ff9ee7bb9bdd7427 (patch) | |
tree | da448db320cbc8ed7132ed511b6bacb05404d926 /src/gui/styles/qwindowsmobilestyle_p.h | |
parent | 19e406c08fdaa30fd101cd017cc01b2397b67ee3 (diff) | |
download | Qt-8a09d0dfe1010a4b56afa448ff9ee7bb9bdd7427.zip Qt-8a09d0dfe1010a4b56afa448ff9ee7bb9bdd7427.tar.gz Qt-8a09d0dfe1010a4b56afa448ff9ee7bb9bdd7427.tar.bz2 |
Made QFile benchmark compile and run for Symbian
- Temporary files need to be deleted after each test, as there is no
space to have several 40MB files on typical device.
- Read buffer must be allocated dynamically, as Symbian devices have
limited stack.
- Moved metatype declarations to proper place
- Changed _exit() -> exit()
- Removed assert from around mkdir - dir creation fails if dir exists,
and dir was not created in release builds.
- Added QDir::Files to readSmallFiles test directory filter to actually
find the files to read.
- Fixed filenames to absolute in readSmallFiles test so that it'll find
the files even if they are not in current dir.
- Write a linefeed to the end of each created file in createSmallFiles,
so that the files created have proper size
- Only create 1/10th of files in createSmallFiles for Symbian to
speed up the test to bearable level.
- Added missing ::flose() call to QFileFromPosixBenchmark of open().
- Skipped Windows specific tests on non-Windows platform as just
failing them left temporary files to disk
Task-number: QTBUG-6593
Reviewed-by: MariusSO
Diffstat (limited to 'src/gui/styles/qwindowsmobilestyle_p.h')
0 files changed, 0 insertions, 0 deletions