Remove obsolete code from QRegExp test.
authorJason McDonald <jason.mcdonald@nokia.com>
Mon, 21 Nov 2011 05:38:12 +0000 (15:38 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 21 Nov 2011 23:33:12 +0000 (00:33 +0100)
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>
tests/auto/corelib/tools/qregexp/tst_qregexp.cpp

index 5a51ae3..2f1ac10 100644 (file)
@@ -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 );