diff options
author | Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> | 2015-12-03 13:57:25 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-12-03 19:49:11 +0000 |
commit | 59699c9322b3861e3d0251dfd40a65d0f03c76d4 (patch) | |
tree | 3080d09bc20acfef0080709d293b838b0888ae43 /tests | |
parent | 5d458e1ef23274921295bfbc20bebf439643d1a2 (diff) | |
download | qtgraphicaleffects-59699c9322b3861e3d0251dfd40a65d0f03c76d4.tar.gz |
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 <liang.qi@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/tst_qtgraphicaleffects.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |