diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-10-31 13:11:28 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-31 06:59:30 +0100 |
commit | 2e8b151049301a10279d1b2ad3e3b5ed92a9ca19 (patch) | |
tree | ef08014708b3f3ec323e3a0ad92e32daa7fbba77 /tests/auto/corelib | |
parent | 665c9390d0b6759fb52a584cebc08e993451039f (diff) |
Remove disabled code from QRegExp test
The removed code was disabled before the tests were imported into the Qt
repository in 2006, so its meaning or usefulness is lost in the mists of
time.
Change-Id: Iccdf5638106b054f02ed73790f7acda1b17b045b
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib')
-rw-r--r-- | tests/auto/corelib/tools/qregexp/tst_qregexp.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/corelib/tools/qregexp/tst_qregexp.cpp b/tests/auto/corelib/tools/qregexp/tst_qregexp.cpp index e3d1550b54..13b020023c 100644 --- a/tests/auto/corelib/tools/qregexp/tst_qregexp.cpp +++ b/tests/auto/corelib/tools/qregexp/tst_qregexp.cpp @@ -360,9 +360,6 @@ void tst_QRegExp::indexIn_addMoreRows(const QByteArray &stri) static const char * const squareRegExp[] = { "^a(?:(\\1aa)a)*$", "^(\\2(\\1a))+$", -#if 0 - "^(?:(\\B\\1aa|^a))+$", -#endif "^((\\2a)*)\\1\\2a$", 0 }; @@ -1215,9 +1212,6 @@ void tst_QRegExp::prepareEngineOptimization() QCOMPARE(rx1.matchedLength(), 2); QCOMPARE(rx1.capturedTexts(), QStringList() << "fo" << "f" << "o" << ""); QCOMPARE(rx1.pos(2), 1); -#if 0 - QCOMPARE(rx1.pos(3), -1); // ### -#endif QRegExp rx3; QVERIFY(rx3.isValid()); |