diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-11-29 16:37:01 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-30 07:49:32 +0100 |
commit | 75b66dc8b036c4f4ef3ff8ea109efd698b72732d (patch) | |
tree | bb0d914726e2d49518960aa1f7264ed4e1c42702 /tests/auto/corelib/kernel | |
parent | fad19e18af7fd317a2f4e8daf537cbb46c63b8a7 (diff) |
Cleanup corelib autotests
Remove references to the old bug tracker. The data from the old bug
tracker is no longer accessible, so these markers are meaningless.
Change-Id: Ib9d029d52b70fd0a512b9532d65f03763eabfe57
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/kernel')
-rw-r--r-- | tests/auto/corelib/kernel/qobject/tst_qobject.cpp | 4 | ||||
-rw-r--r-- | tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp | 18 |
2 files changed, 5 insertions, 17 deletions
diff --git a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp index 511eb73d9d..f5a079fae5 100644 --- a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp +++ b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp @@ -3346,8 +3346,8 @@ void tst_QObject::interfaceIid() void tst_QObject::deleteQObjectWhenDeletingEvent() { - //this is related to task 259514 - //before the fix this used to dead lock when the QObject from the event was destroyed + // This is a regression test for an old bug that used to deadlock + // when the QObject from the event was destroyed. struct MyEvent : public QEvent { diff --git a/tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp b/tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp index 7fc2b3e330..cb4952fd69 100644 --- a/tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp +++ b/tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp @@ -1490,8 +1490,6 @@ void tst_QVariant::writeToReadFromDataStream_data() void tst_QVariant::writeToReadFromDataStream() { - // See #15831 for more information on the bug - QFETCH( QVariant, writeVariant ); QFETCH( bool, isNull ); QByteArray data; @@ -1567,7 +1565,6 @@ void tst_QVariant::writeToReadFromOldDataStream() void tst_QVariant::checkDataStream() { - // test fix for task 215610 const QByteArray settingsHex("0000002effffffffff"); const QByteArray settings = QByteArray::fromHex(settingsHex); QDataStream in(settings); @@ -1816,7 +1813,7 @@ void tst_QVariant::operator_eq_eq() QFETCH( QVariant, left ); QFETCH( QVariant, right ); QFETCH( bool, equal ); - QEXPECT_FAIL("nullint", "See task 118496", Continue); + QEXPECT_FAIL("nullint", "See QTBUG-22933", Continue); QCOMPARE( left == right, equal ); } @@ -1929,9 +1926,6 @@ void tst_QVariant::typeToName() void tst_QVariant::streamInvalidVariant() { - // I wasn't sure where this test belonged, so it's here - // See #17423 for more details - int writeX = 1; int writeY = 2; int readX; @@ -2451,8 +2445,6 @@ Q_DECLARE_METATYPE(qint8); void tst_QVariant::convertToQUint8() const { - // See task 158470. - /* qint8. */ { const qint8 anInt = 32; @@ -2846,9 +2838,7 @@ void tst_QVariant::convertByteArrayToBool_data() const Rationale: "9.9" is not a valid int. However, doubles are by definition not ints and therefore it makes more sense to perform conversion for those. - - See task 237252. - */ +*/ void tst_QVariant::toIntFromQString() const { QVariant first("9.9"); @@ -2871,9 +2861,7 @@ void tst_QVariant::toIntFromQString() const Rationale: if 2147483630 is set in float and then converted to int, there will be overflow and the result will be -2147483648. - - See task 250267. - */ +*/ void tst_QVariant::toIntFromDouble() const { double d = 2147483630; // max int 2147483647 |