diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-11-21 15:38:12 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-22 00:33:12 +0100 |
commit | f9111355f27027a5458c589d8b80661dbde7cad4 (patch) | |
tree | ca198e49dcf0ebfc7a97126b76a73f05df076eb1 /tests/auto/corelib/tools/qregexp/tst_qregexp.cpp | |
parent | 0c8f471c967f05171aac92376378891e7f82856e (diff) |
Remove obsolete code from QRegExp test.
The removed test functions were all empty and have been commented-out
since the tests were imported into the Qt repository in 2006.
Change-Id: I4ce86440aed355352a26ebefeafc95eeda1efbdd
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/tools/qregexp/tst_qregexp.cpp')
-rw-r--r-- | tests/auto/corelib/tools/qregexp/tst_qregexp.cpp | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/tests/auto/corelib/tools/qregexp/tst_qregexp.cpp b/tests/auto/corelib/tools/qregexp/tst_qregexp.cpp index 5a51ae32ae..2f1ac10694 100644 --- a/tests/auto/corelib/tools/qregexp/tst_qregexp.cpp +++ b/tests/auto/corelib/tools/qregexp/tst_qregexp.cpp @@ -70,23 +70,8 @@ private slots: void swap(); void operator_eq(); - /* - void isValid(); - void pattern(); - void setPattern(); - void caseSensitive(); - void setCaseSensitive(); - void minimal(); - void setMinimal(); -*/ void exactMatch(); void capturedTexts(); -/* - void cap(); - void pos(); - void errorString(); - void escape(); -*/ void staticRegExp(); void rainersSlowRegExpCopyBug(); void nonExistingBackReferenceBug(); @@ -491,40 +476,6 @@ void tst_QRegExp::indexIn_addMoreRows(const QByteArray &stri) << QStringList(); } -/* -void tst_QRegExp::isEmpty() -{ -} - -void tst_QRegExp::isValid() -{ -} - -void tst_QRegExp::pattern() -{ -} - -void tst_QRegExp::setPattern() -{ -} - -void tst_QRegExp::caseSensitive() -{ -} - -void tst_QRegExp::setCaseSensitive() -{ -} - -void tst_QRegExp::minimal() -{ -} - -void tst_QRegExp::setMinimal() -{ -} -*/ - void tst_QRegExp::exactMatch() { QRegExp rx_d( "\\d" ); @@ -604,24 +555,6 @@ void tst_QRegExp::capturedTexts() QCOMPARE(rx7.cap(2), QString("elta4")); } -/* -void tst_QRegExp::cap() -{ -} - -void tst_QRegExp::pos() -{ -} - -void tst_QRegExp::errorString() -{ -} - -void tst_QRegExp::escape() -{ -} -*/ - void tst_QRegExp::indexIn() { QFETCH( QString, regexpStr ); |