summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-10-12 17:46:44 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-10-19 17:44:43 +0200
commit78b58d4de1cceb538cc3983346383440734b00b4 (patch)
tree092b1ef69e28bdf37a38a8b2a731cdf86747d8c9 /tests/benchmarks
parentf2cd9d9ddbf0a1c7cea248972d2808ab38960af7 (diff)
Tidy up tst_QLocale::ctor(), reduce needless repetition
The test macro's first three parameters were given a QLocale:: prefix by the macro, but the last three weren't. Save uses of the macro the need to repeat the prefix in all parameters, thereby making the test cases easier to read. Also, we can compare enum values, rather than casting them to int; and, when a test fails, reporting the enum name is far more informative than reporting the integer that represents it. Change-Id: Ib0360c51049333b4a00ea84e271c99db6724334f Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/benchmarks')
0 files changed, 0 insertions, 0 deletions