From f36ae323817663ad32d5c35da1b9e34484138536 2012-12-13 14:05:34 From: Marek Rosa Date: 2012-12-13 14:05:34 Subject: [PATCH] Arm test fix --- diff --git a/tests/auto/chartdataset/tst_chartdataset.cpp b/tests/auto/chartdataset/tst_chartdataset.cpp index 38af86d..fe54f72 100644 --- a/tests/auto/chartdataset/tst_chartdataset.cpp +++ b/tests/auto/chartdataset/tst_chartdataset.cpp @@ -48,7 +48,9 @@ QTEST_MAIN(tst_ChartDataSet) #include #include #include -#include +#ifndef QT_ON_ARM +#include "qdatetimeaxis.h" +#endif #include #include #include @@ -219,12 +221,16 @@ void tst_ChartDataSet::addAxis_data() QAbstractAxis* value = new QValueAxis(this); QAbstractAxis* category = new QCategoryAxis(this); QAbstractAxis* barcategory = new QBarCategoryAxis(this); +#ifndef Q_WS_QWS QAbstractAxis* datetime = new QDateTimeAxis(this); +#endif QTest::newRow("value") << value; QTest::newRow("category") << category; QTest::newRow("barcategory") << barcategory; +#ifndef Q_WS_QWS QTest::newRow("datetime") << datetime; +#endif } void tst_ChartDataSet::addAxis() @@ -292,8 +298,9 @@ void tst_ChartDataSet::attachAxis_data() QAbstractAxis* category = new QCategoryAxis(this); QAbstractAxis* barcategory = new QBarCategoryAxis(this); +#ifndef Q_WS_QWS QAbstractAxis* datetime = new QDateTimeAxis(this); - +#endif { QList series; QList axes;