##// END OF EJS Templates
Added the rest of the QML elements into qml unit tests
Tero Ahola -
r2032:6a45d36aa221
parent child
Show More
@@ -81,10 +81,12 void tst_QML::cleanup()
81 81 void tst_QML::checkPlugin_data()
82 82 {
83 83 QTest::addColumn<QString>("source");
84
84 85 QTest::newRow("createChartView") << imports() + "ChartView{}";
86 QTest::newRow("XYPoint") << imports() + "XYPoint{}";
87 QTest::newRow("scatterSeries") << imports() + "ScatterSeries{}";
85 88 QTest::newRow("lineSeries") << imports() + "LineSeries{}";
86 89 QTest::newRow("splineSeries") << imports() + "SplineSeries{}";
87 QTest::newRow("scatterSeries") << imports() + "ScatterSeries{}";
88 90 QTest::newRow("areaSeries") << imports() + "AreaSeries{}";
89 91 QTest::newRow("barSeries") << imports() + "BarSeries{}";
90 92 QTest::newRow("stackedBarSeries") << imports() + "StackedBarSeries{}";
@@ -93,9 +95,23 void tst_QML::checkPlugin_data()
93 95 QTest::newRow("horizonatlStackedBarSeries") << imports() + "HorizontalStackedBarSeries{}";
94 96 QTest::newRow("horizonatlstackedBarSeries") << imports() + "HorizontalPercentBarSeries{}";
95 97 QTest::newRow("pieSeries") << imports() + "PieSeries{}";
98 QTest::newRow("PieSlice") << imports() + "PieSlice{}";
99 QTest::newRow("BarSet") << imports() + "BarSet{}";
100 QTest::newRow("HXYModelMapper") << imports() + "HXYModelMapper{}";
101 QTest::newRow("VXYModelMapper") << imports() + "VXYModelMapper{}";
102 QTest::newRow("HPieModelMapper") << imports() + "HPieModelMapper{}";
103 QTest::newRow("HPieModelMapper") << imports() + "HPieModelMapper{}";
104 QTest::newRow("HBarModelMapper") << imports() + "HBarModelMapper{}";
105 QTest::newRow("VBarModelMapper") << imports() + "VBarModelMapper{}";
106 QTest::newRow("ValueAxis") << imports() + "ValueAxis{}";
107 #ifndef QT_ON_ARM
108 QTest::newRow("DateTimeAxis") << imports() + "DateTimeAxis{}";
109 #endif
110 QTest::newRow("CategoryAxis") << imports() + "CategoryAxis{}";
111 QTest::newRow("CategoryRange") << imports() + "CategoryRange{}";
112 QTest::newRow("BarCategoryAxis") << imports() + "BarCategoryAxis{}";
96 113 }
97 114
98
99 115 void tst_QML::checkPlugin()
100 116 {
101 117 QFETCH(QString, source);
General Comments 0
You need to be logged in to leave comments. Login now