diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-10-08 16:03:17 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-10-09 14:40:37 +0200 |
commit | df1309c83a3202ed20c21c4259300b8118c42b5f (patch) | |
tree | 12fd25d2bb34db3e7424ba0cfb53e9fa97c15743 /src/plugins/platforms | |
parent | 48ab30e02aead35b1258400ae4574cba465940e2 (diff) |
Clean up tst_QLocale::testNames(), give better message on failure
It was previously casting enum values to int, which produced unhelpful
answers when a test failed. Better to have them as enum values that
get printed as their names, which are actually informative.
Change-Id: I1bf2971b1426bdbbc321bb48f45ee3e5799e76ec
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions