From 59699c9322b3861e3d0251dfd40a65d0f03c76d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Nowacki?= Date: Thu, 3 Dec 2015 13:57:25 +0100 Subject: Update tests results of QColor <=> QString conversion code update The tests was depending on a buggy behavior (QTBUG-37851) Change-Id: I238ff02a3ac4cdb4690b5233603f7cb4db3ef422 Reviewed-by: Liang Qi --- tests/auto/tst_qtgraphicaleffects.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/auto/tst_qtgraphicaleffects.cpp b/tests/auto/tst_qtgraphicaleffects.cpp index a0104d8..c36f290 100644 --- a/tests/auto/tst_qtgraphicaleffects.cpp +++ b/tests/auto/tst_qtgraphicaleffects.cpp @@ -405,7 +405,7 @@ void tst_qtgraphicaleffects::colorOverlay() // Default values QCOMPARE(obj->property("cached").toBool(), false); - QCOMPARE(obj->property("color").toString(), QString("#000000")); + QCOMPARE(obj->property("color").toString(), QString("#00000000")); delete obj; } @@ -782,9 +782,9 @@ void tst_qtgraphicaleffects::levelAdjust() // Default values QCOMPARE(obj->property("source").toInt(), 0); - QCOMPARE(obj->property("minimumInput").toString(), QString("#000000")); + QCOMPARE(obj->property("minimumInput").toString(), QString("#00000000")); QCOMPARE(obj->property("maximumInput").toString(), QString("#ffffff")); - QCOMPARE(obj->property("minimumOutput").toString(), QString("#000000")); + QCOMPARE(obj->property("minimumOutput").toString(), QString("#00000000")); QCOMPARE(obj->property("maximumOutput").toString(), QString("#ffffff")); QCOMPARE(obj->property("cached").toBool(), false); -- cgit v1.2.3