summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2014-07-25 20:57:33 +0200
committerMarc Mutz <marc.mutz@kdab.com>2014-07-26 21:13:48 +0200
commit8b4635d8959b28f55f003ca2361f719f173c2f4a (patch)
tree8b05dedf8693199ab9c64238758845bd4f642044 /tests
parentda6aac095014237b7e7ee952f30e1c4fbb66214e (diff)
Clean up tst_QPalette
Remove ctor, dtor, and empty test functions. Change-Id: I0cf60732258c4470f40ddb258d87f0ac2de64edf Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/gui/kernel/qpalette/tst_qpalette.cpp39
1 files changed, 2 insertions, 37 deletions
diff --git a/tests/auto/gui/kernel/qpalette/tst_qpalette.cpp b/tests/auto/gui/kernel/qpalette/tst_qpalette.cpp
index f9da7de0d6..da6f3a548b 100644
--- a/tests/auto/gui/kernel/qpalette/tst_qpalette.cpp
+++ b/tests/auto/gui/kernel/qpalette/tst_qpalette.cpp
@@ -46,47 +46,12 @@
class tst_QPalette : public QObject
{
-Q_OBJECT
-
-public:
- tst_QPalette();
- virtual ~tst_QPalette();
-
-public slots:
- void initTestCase();
- void cleanupTestCase();
- void init();
- void cleanup();
-
-private slots:
+ Q_OBJECT
+private Q_SLOTS:
void roleValues_data();
void roleValues();
};
-tst_QPalette::tst_QPalette()
-{
-}
-
-tst_QPalette::~tst_QPalette()
-{
-}
-
-void tst_QPalette::initTestCase()
-{
-}
-
-void tst_QPalette::cleanupTestCase()
-{
-}
-
-void tst_QPalette::init()
-{
-}
-
-void tst_QPalette::cleanup()
-{
-}
-
void tst_QPalette::roleValues_data()
{
QTest::addColumn<int>("role");