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>
This commit is contained in:
Jason McDonald 2011-11-21 15:38:12 +10:00 committed by Qt by Nokia
parent 0c8f471c96
commit f9111355f2

View 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 );