Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.9.9
-
None
-
Kit: Desktop Qt 5.9.9 MinGW 32bit
Config: Using QtTest library 5.9.9, Qt 5.9.9 (i386-little_endian-ilp32 shared (dynamic) debug build; by GCC 5.3.0)
Description
// — Code —
void TestCalculator::testDiff_data() {
QTest::addColumn<int>("a");
QTest::addColumn<int>("b");
QTest::addColumn<int>("result");
QTest::newRow("INT_MIN - 0") << -2147483648 << 0 << -2147483648;
// -> error message: QDEBUG : TestCalculator::testDiff() expected data of type 'int', got 'qlonglong' for element 0 of data with tag 'INT_MIN - 0' {color}}