From 05978af3a161ed0d830e67a1220e7d2ae47d8938 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 27 Sep 2012 14:58:11 +0200 Subject: [PATCH] tst_qcheckbox: remove duplicate code Change-Id: Ic5d7694251e42a6d5ad7fea19137b71bc499ac94 Reviewed-by: Caroline Chao --- tests/auto/widgets/widgets/qcheckbox/tst_qcheckbox.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/auto/widgets/widgets/qcheckbox/tst_qcheckbox.cpp b/tests/auto/widgets/widgets/qcheckbox/tst_qcheckbox.cpp index 256df8580e..6d38522e28 100644 --- a/tests/auto/widgets/widgets/qcheckbox/tst_qcheckbox.cpp +++ b/tests/auto/widgets/widgets/qcheckbox/tst_qcheckbox.cpp @@ -213,19 +213,11 @@ void tst_QCheckBox::setText_data() { QTest::addColumn("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()