Remove dead code and empty test functions.

Change-Id: Iaf8ac514d814c9321f8dcd09b2bf3331f87154e6
Reviewed-on: http://codereview.qt-project.org/6191
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
bb10
Jason McDonald 2011-10-07 11:29:44 +10:00 committed by Qt by Nokia
parent bf7d30bf1f
commit 931978a126
4 changed files with 0 additions and 29 deletions

View File

@ -111,9 +111,6 @@ void tst_Lancelot::initTestCase()
// (e.g. script files not found) as just warnings, and not QFAILs, to avoid false negatives
// caused by environment or server instability
#if defined(Q_OS_SOMEPLATFORM)
QSKIP("This test is not supported on this platform.", SkipAll);
#endif
if (!proto.connect(QLatin1String("tst_Lancelot"), &dryRunMode, clientInfo))
QSKIP(qPrintable(proto.errorMessage()), SkipAll);

View File

@ -88,9 +88,6 @@ private slots:
void clicked();
void toggled();
void stateChanged();
void accel();
void setAccel();
void group();
void foregroundRole();
void minimumSizeHint();
@ -406,21 +403,6 @@ void tst_QCheckBox::isToggleButton()
QVERIFY( testWidget->isCheckable() );
}
void tst_QCheckBox::accel()
{
QSKIP("This test is empty for now", SkipAll);
}
void tst_QCheckBox::setAccel()
{
QSKIP("This test is empty for now", SkipAll);
}
void tst_QCheckBox::group()
{
QSKIP("This test is empty for now", SkipAll);
}
void tst_QCheckBox::foregroundRole()
{
QVERIFY(testWidget->foregroundRole() == QPalette::WindowText);

View File

@ -785,10 +785,6 @@ void tst_QGraphicsLinearLayout::orientation()
else
QCOMPARE(item->pos().x(), positions.at(i));
}
//QSKIP("LayoutdirectionChange should only posted when QGraphicsWidget::setLayoutDirection() is called, right?", SkipAll);
//QCOMPARE(layout.layoutDirectionChange, 1);
}
void tst_QGraphicsLinearLayout::removeAt_data()

View File

@ -1511,10 +1511,6 @@ public:
void tst_QListWidget::fastScroll()
{
if (qstrcmp(QApplication::style()->metaObject()->className(), "QS60Style") == 0) {
QSKIP("S60 style doesn't support fast scrolling", SkipAll);
}
QWidget topLevel;
MyListWidget widget(&topLevel);
for (int i = 0; i < 50; ++i)