From f9111355f27027a5458c589d8b80661dbde7cad4 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Mon, 21 Nov 2011 15:38:12 +1000 Subject: 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 --- tests/auto/corelib/tools/qregexp/tst_qregexp.cpp | 67 ------------------------ 1 file changed, 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 ); -- cgit v1.2.3