qt5base-lts/tests/auto/testlib/selftests/cmptest
Friedemann Kleint bc8f25c7e6 QTestlib: Make QImage comparison more verbose.
Introduce a specialization for qCompare(QImage,QImage) that
checks isNull, size and format and outputs verbose messages.

Check isNull, size similarly for QPixmap.

Add an autotest:
- Add test to cmptest and make it a GUI application since
  QImage requires QGuiApplication.
- Make testlib/selftests capable of running X11-GUI applications
  by passing DISPLAY.
- Ignore stderr output for cmptest
- Add test data

Change-Id: I2b29c7822fbeedf2b22c90889739ed7ff859ce92
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
2011-12-21 22:59:28 +01:00
..
cmptest.pro QTestlib: Make QImage comparison more verbose. 2011-12-21 22:59:28 +01:00
tst_cmptest.cpp QTestlib: Make QImage comparison more verbose. 2011-12-21 22:59:28 +01:00