diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-07-05 09:41:15 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-07-05 18:49:19 +0000 |
commit | e7d476031474786a2e11ff6d3f9af0d5244f19d8 (patch) | |
tree | 12b10d44ef4e6f0b7c4c3217be9d471a95ca1bf7 /tests/auto/testlib/selftests/expected_cmptest.xunitxml | |
parent | 6583720aa4503fce16b44cce7b8d939058abf000 (diff) |
Testlib: Format QRegion in QCOMPARE
Output regions as a compact list of rectangles:
QRegion(2 rectangles, 50x200+100+200, 200x50+10+10)
Change-Id: I62e42bd30897a1d31b28e0cbd6afe7fa8ecf2664
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_cmptest.xunitxml')
-rw-r--r-- | tests/auto/testlib/selftests/expected_cmptest.xunitxml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/expected_cmptest.xunitxml b/tests/auto/testlib/selftests/expected_cmptest.xunitxml index 0b43fba654..9f1726b0d6 100644 --- a/tests/auto/testlib/selftests/expected_cmptest.xunitxml +++ b/tests/auto/testlib/selftests/expected_cmptest.xunitxml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" ?> -<testsuite errors="0" failures="28" tests="18" name="tst_Cmptest"> +<testsuite errors="0" failures="30" tests="19" name="tst_Cmptest"> <properties> <property value="@INSERT_QT_VERSION_HERE@" name="QTestVersion"/> <property value="@INSERT_QT_VERSION_HERE@" name="QtVersion"/> @@ -94,6 +94,14 @@ Expected (opB): 3" result="fail"/> <failure tag="different pixels" message="Compared values are not the same" result="fail"/> </testcase> + <testcase result="fail" name="compareQRegion"> + <failure tag="1-empty" message="Compared values are not the same + Actual (rA): QRegion(200x50+10+10) + Expected (rB): QRegion(null)" result="fail"/> + <failure tag="different lists" message="Compared values are not the same + Actual (rA): QRegion(200x50+10+10) + Expected (rB): QRegion(2 rectangles, 50x200+100+200, 200x50+10+10)" result="fail"/> + </testcase> <testcase result="fail" name="verify"> <failure message="'opaqueFunc() < 2' returned FALSE. ()" result="fail"/> </testcase> |