Remove redundant qWarning's.
The removed warnings just repeat information that is already in the QSKIP's that immediately follow the warnings. Change-Id: Id13158487e8075aab8a8f48955303edde3f4af63 Reviewed-on: http://codereview.qt-project.org/6194 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
435d21383c
commit
413b40eaf7
@ -75,10 +75,8 @@ private slots:
|
|||||||
void tst_QSqlDriver::initTestCase_data()
|
void tst_QSqlDriver::initTestCase_data()
|
||||||
{
|
{
|
||||||
dbs.open();
|
dbs.open();
|
||||||
if (dbs.fillTestTable() == 0) {
|
if (dbs.fillTestTable() == 0)
|
||||||
qWarning("NO DATABASES");
|
|
||||||
QSKIP("No database drivers are available in this Qt configuration", SkipAll);
|
QSKIP("No database drivers are available in this Qt configuration", SkipAll);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void tst_QSqlDriver::recreateTestTables(QSqlDatabase db)
|
void tst_QSqlDriver::recreateTestTables(QSqlDatabase db)
|
||||||
|
@ -102,10 +102,8 @@ private:
|
|||||||
void tst_QSqlRelationalTableModel::initTestCase_data()
|
void tst_QSqlRelationalTableModel::initTestCase_data()
|
||||||
{
|
{
|
||||||
dbs.open();
|
dbs.open();
|
||||||
if (dbs.fillTestTable() == 0) {
|
if (dbs.fillTestTable() == 0)
|
||||||
qWarning("NO DATABASES");
|
|
||||||
QSKIP("No database drivers are available in this Qt configuration", SkipAll);
|
QSKIP("No database drivers are available in this Qt configuration", SkipAll);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void tst_QSqlRelationalTableModel::recreateTestTables(QSqlDatabase db)
|
void tst_QSqlRelationalTableModel::recreateTestTables(QSqlDatabase db)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user