Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
4.6.3
-
None
-
ARM
Description
'void tst_QString::integer_conversion_data()' has 'qlonglong' variables in the last column of test rows. Then in 'void tst_QString::integer_conversion()' 'QFETCH(qlonglong, num);' fetches weird values to num.
This does not happen for example if I add an extra boolean column to the test rows after the qlonglong column. Or If I comment out most of the test rows and leave a few of the bad behaving rows, they start working normally.
------------------
FAIL! : tst_QString::integer_conversion(C -0xf 0) Compared values are not the same
Actual (d): -15
Expected (num): 4811016207641192
Loc: [tst_qstring.cpp(3729)]
QDEBUG : tst_QString::integer_conversion(C -0xf 0) num: 4294967300
FAIL! : tst_QString::integer_conversion(C -0xf 0) Compared values are not the same
Actual (d): -15
Expected (num): 4294967300
Loc: [tst_qstring.cpp(3729)]
QDEBUG : tst_QString::integer_conversion(C 0xf 0) num: 1113243648
FAIL! : tst_QString::integer_conversion(C 0xf 0) Compared values are not the same
Actual (d): 15
Expected (num): 1113243648
Loc: [tst_qstring.cpp(3729)]
QDEBUG : tst_QString::integer_conversion(C -010 0) num: 4780891307009105488
FAIL! : tst_QString::integer_conversion(C -010 0) Compared values are not the same
Actual (d): -8
Expected (num): 4780891307009105488
Loc: [tst_qstring.cpp(3729)]
QDEBUG : tst_QString::integer_conversion(C 010 0) num: 1
FAIL! : tst_QString::integer_conversion(C 010 0) Compared values are not the same
Actual (d): 8
Expected (num): 1
Loc: [tst_qstring.cpp(3729)]