qt5base-lts/tests/auto
Mitch Curtis c988a8a282 Make QCOMPARE print QColor alpha values on failure
Currently, when two colors are equal except for their alpha values,
QCOMPARE produces the following failure message:

FAIL!  : tst_Test::test() Compared values are not the same
   Actual   (colorA): #ff0000
   Expected (colorB): #ff0000

By using the HexArgb format instead of the default HexRgb, we can
see the full hex string, with alpha values included:

FAIL!  : tst_Test::test() Compared values are not the same
   Actual   (colorA): #88ff0000
   Expected (colorB): #ffff0000

Task-number: QTBUG-55574
Change-Id: Id82c60a1b473ac6025a6f6ac560fce95a910d782
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2017-11-03 14:29:49 +00:00
..
android
bic/data Update binary compatibility files for Qt 5.9.0 for QtBase 2017-08-14 13:48:17 +00:00
cmake tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
compilerwarnings/data
concurrent Merge remote-tracking branch 'origin/5.9' into dev 2017-08-02 22:52:32 +02:00
corelib Merge remote-tracking branch 'origin/5.9' into 5.10 2017-10-30 08:54:05 +01:00
dbus Use QSharedPointer::create() more 2017-07-19 13:40:42 +00:00
gui tests: Fix warnings about inconsistent override 2017-10-27 20:01:25 +00:00
guiapplauncher
installed_cmake
network Merge remote-tracking branch 'origin/5.9' into 5.10 2017-10-30 08:54:05 +01:00
opengl Ensure result of all QTest::qWaitFor are verified 2017-10-05 15:15:36 +00:00
other Merge remote-tracking branch 'origin/5.9' into 5.10 2017-10-30 08:54:05 +01:00
printsupport Convert features.completer to QT_[REQUIRE_]CONFIG 2017-09-04 11:28:02 +00:00
shared Remove workaround for potentially unavailable pasteboard in macOS 2017-03-07 01:04:46 +00:00
sql Merge remote-tracking branch 'origin/5.9' into 5.10 2017-10-30 08:54:05 +01:00
testlib Make QCOMPARE print QColor alpha values on failure 2017-11-03 14:29:49 +00:00
tools Merge remote-tracking branch 'origin/5.9' into dev 2017-08-31 14:31:31 +02:00
widgets Merge remote-tracking branch 'origin/5.9' into 5.10 2017-10-30 08:54:05 +01:00
xml Increase timeout for tst_QXmlSimpleReader::inputFromSocket() test 2017-10-05 10:22:12 +00:00
auto.pro Blacklist and skip failing tests for Boot2Qt / 64 bit arm 2017-10-21 09:31:01 +00:00
network-settings.h