eea930b4d7
Says GCC: In function ‘char* QTest::toString(QPair<T1, T2>&) [with T1 = QWidget*; T2 = QEvent::Type]’, warning: ‘%s’ directive argument is null [-Wformat-overflow=] Fix by re-using formatString(), once introduced for std::tuple. As a side-effect, this gets rid of the funny double-quotes around the output. Change-Id: I2dd5f10fa2b3a392370bf487c1b7e98f3d190978 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
22 lines
1002 B
XML
22 lines
1002 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<testsuite name="tst_PairDiagnostics" timestamp="@TEST_START_TIME@" tests="4" failures="2" errors="0" time="@TEST_DURATION@">
|
|
<properties>
|
|
<property name="QTestVersion" value="@INSERT_QT_VERSION_HERE@"/>
|
|
<property name="QtVersion" value="@INSERT_QT_VERSION_HERE@"/>
|
|
<property name="QtBuild" value=""/>
|
|
</properties>
|
|
<testcase name="initTestCase" result="pass" time="@TEST_DURATION@"/>
|
|
<testcase name="testQPair" result="fail" time="@TEST_DURATION@">
|
|
<failure result="fail" message="Compared values are not the same
|
|
Actual (pair1): std::pair(1, 1)
|
|
Expected (pair2): std::pair(1, 2)"/>
|
|
</testcase>
|
|
<testcase name="testStdPair" result="fail" time="@TEST_DURATION@">
|
|
<failure result="fail" message="Compared values are not the same
|
|
Actual (pair1): std::pair(1, 1)
|
|
Expected (pair2): std::pair(1, 2)"/>
|
|
</testcase>
|
|
<testcase name="cleanupTestCase" result="pass" time="@TEST_DURATION@"/>
|
|
<system-err/>
|
|
</testsuite>
|