summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-07 11:29:44 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-07 06:38:59 +0200
commit931978a1262b3705db474acb0ebb4359b4a86ccf (patch)
tree727d54315c6bed08c0f1c4244d86e3d474f40dce /tests
parentbf7d30bf1fc873e07fbfb82236a0b7d6728f41fc (diff)
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/lancelot/tst_lancelot.cpp3
-rw-r--r--tests/auto/qcheckbox/tst_qcheckbox.cpp18
-rw-r--r--tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp4
-rw-r--r--tests/auto/qlistwidget/tst_qlistwidget.cpp4
4 files changed, 0 insertions, 29 deletions
diff --git a/tests/auto/lancelot/tst_lancelot.cpp b/tests/auto/lancelot/tst_lancelot.cpp
index 79a221fa0e..07ed74ec6a 100644
--- a/tests/auto/lancelot/tst_lancelot.cpp
+++ b/tests/auto/lancelot/tst_lancelot.cpp
@@ -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);
diff --git a/tests/auto/qcheckbox/tst_qcheckbox.cpp b/tests/auto/qcheckbox/tst_qcheckbox.cpp
index a11dfe0f6e..d789059ec9 100644
--- a/tests/auto/qcheckbox/tst_qcheckbox.cpp
+++ b/tests/auto/qcheckbox/tst_qcheckbox.cpp
@@ -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);
diff --git a/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp b/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp
index 2891efa2bd..873a711127 100644
--- a/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp
+++ b/tests/auto/qgraphicslinearlayout/tst_qgraphicslinearlayout.cpp
@@ -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()
diff --git a/tests/auto/qlistwidget/tst_qlistwidget.cpp b/tests/auto/qlistwidget/tst_qlistwidget.cpp
index 8bbd3c6d20..9ede38f553 100644
--- a/tests/auto/qlistwidget/tst_qlistwidget.cpp
+++ b/tests/auto/qlistwidget/tst_qlistwidget.cpp
@@ -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)