diff options
Diffstat (limited to 'tests/auto/corelib/tools/qregexp/tst_qregexp.cpp')
-rw-r--r-- | tests/auto/corelib/tools/qregexp/tst_qregexp.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/auto/corelib/tools/qregexp/tst_qregexp.cpp b/tests/auto/corelib/tools/qregexp/tst_qregexp.cpp index 2f1ac10694..21bf9d1539 100644 --- a/tests/auto/corelib/tools/qregexp/tst_qregexp.cpp +++ b/tests/auto/corelib/tools/qregexp/tst_qregexp.cpp @@ -79,8 +79,8 @@ private slots: void reentrancy(); void threadsafeEngineCache(); - void QTBUG_7049_data(); - void QTBUG_7049(); + void posAndCapConsistency_data(); + void posAndCapConsistency(); void interval(); }; @@ -1237,7 +1237,9 @@ void tst_QRegExp::operator_eq() } } -void tst_QRegExp::QTBUG_7049_data() +// This test aims to ensure that the values returned by pos() and cap() +// are consistent. +void tst_QRegExp::posAndCapConsistency_data() { QTest::addColumn<QString>("reStr"); QTest::addColumn<QString>("text"); @@ -1297,7 +1299,7 @@ void tst_QRegExp::QTBUG_7049_data() } -void tst_QRegExp::QTBUG_7049() +void tst_QRegExp::posAndCapConsistency() { QFETCH( QString, reStr ); QFETCH( QString, text ); |