c608ffc56a
Currently when doing comparison with pair-like classes the fallback toString method is called which returns a Q_NULLPTR thus not allowing proper diagnostic of the values that triggered an error. This patch adds support for QPair and std::pair to improve the tests output readability. [ChangeLog][QtTest][QCOMPARE] Now outputs contents of QPair and std::pair on failure. Change-Id: Ib0b4aad7640590d56275b6f1306fb9fb39fa81bc Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
7 lines
126 B
Prolog
7 lines
126 B
Prolog
SOURCES += tst_pairdiagnostics.cpp
|
|
QT = core testlib
|
|
|
|
CONFIG -= app_bundle debug_and_release_target
|
|
|
|
TARGET = pairdiagnostics
|