From 9626baaea98edc13236250fc4b92d461b80e3875 Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Sun, 1 Nov 2015 16:41:25 +0100 Subject: Fix QCOMPARE with enum classes. As these are strongly typed, they won't implicitly convert to int, so make sure to cast explicitly. Change-Id: Ic8daa31c528bbd8f399ab401d0963e13db191312 Reviewed-by: Olivier Goffart (Woboq GmbH) --- tests/auto/testlib/selftests/expected_cmptest.xml | 60 +++++++++++++---------- 1 file changed, 34 insertions(+), 26 deletions(-) (limited to 'tests/auto/testlib/selftests/expected_cmptest.xml') diff --git a/tests/auto/testlib/selftests/expected_cmptest.xml b/tests/auto/testlib/selftests/expected_cmptest.xml index 9437e8e4b7..d9a68e0bd1 100644 --- a/tests/auto/testlib/selftests/expected_cmptest.xml +++ b/tests/auto/testlib/selftests/expected_cmptest.xml @@ -10,19 +10,27 @@ - + - + + + + + + + @@ -32,7 +40,7 @@ - + - + - + - + ) @@ -68,31 +76,31 @@ - + - + - + - + - + - + @@ -109,7 +117,7 @@ - + @@ -120,13 +128,13 @@ - + - + - + - + @@ -151,13 +159,13 @@ - + - + - + - + - + - + - + - + - + -- cgit v1.2.3