summaryrefslogtreecommitdiffstats
path: root/src/qt_install.pri
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-05 13:07:30 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-10-05 13:09:23 (GMT)
commitbfe0e5c0d47780542b174dc96973920fba11c451 (patch)
tree3f475f2aa778ba50bfae5999544c01eb910e3de2 /src/qt_install.pri
parentb73f1b3d88927b0c51c0624f67695cfd80167d38 (diff)
downloadQt-bfe0e5c0d47780542b174dc96973920fba11c451.zip
Qt-bfe0e5c0d47780542b174dc96973920fba11c451.tar.gz
Qt-bfe0e5c0d47780542b174dc96973920fba11c451.tar.bz2
Fixes to qpixmapcache test cases, test case now adapts to cache_limit.
The default cache_limit in different platforms have different value. For example in Symbian the default is currently 1024 KB where as for desktop platforms the default is 10 MB. The purpose of modified qpixmapcache test cases was to do operations until cache_limit was reached. This was achieved by hard coded 40000 iterations. However this hard-coded value is fargile for cache limit changes, and in addition it unnecessarily made the test exectuion to take very long time on platforms which had smaller cache limit. This patch changes the test so that number of expected items to fit in cache is calculated and then 1000 extra items is tried to put in cache to make sure limit is exceeded. Reviewed-by: Alexis Menard
Diffstat (limited to 'src/qt_install.pri')
0 files changed, 0 insertions, 0 deletions