tst_qcheckbox: remove duplicate code
authorJ-P Nurmi <jpnurmi@digia.com>
Thu, 27 Sep 2012 12:58:11 +0000 (14:58 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 27 Sep 2012 13:03:15 +0000 (15:03 +0200)
Change-Id: Ic5d7694251e42a6d5ad7fea19137b71bc499ac94
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
tests/auto/widgets/widgets/qcheckbox/tst_qcheckbox.cpp

index 256df85..6d38522 100644 (file)
@@ -213,19 +213,11 @@ void tst_QCheckBox::setText_data()
 {
     QTest::addColumn<QString>("s1");
 
-#ifdef Q_OS_WIN32
-    QTest::newRow( "win32_data0" ) << QString("This is a text");
-    QTest::newRow( "win32_data1" ) << QString("A");
-    QTest::newRow( "win32_data2" ) << QString("ABCDEFG ");
-    QTest::newRow( "win32_data3" ) << QString("Text\nwith a cr-lf");
-    QTest::newRow( "win32_data4" ) << QString("");
-#else
     QTest::newRow( "data0" ) << QString("This is a text");
     QTest::newRow( "data1" ) << QString("A");
     QTest::newRow( "data2" ) << QString("ABCDEFG ");
     QTest::newRow( "data3" ) << QString("Text\nwith a cr-lf");
     QTest::newRow( "data4" ) << QString("");
-#endif
 }
 
 void tst_QCheckBox::setText()