@@ -171,6 +171,7 void tst_QChartView::rubberBand() | |||||
171 |
|
171 | |||
172 | void tst_QChartView::keys_data() |
|
172 | void tst_QChartView::keys_data() | |
173 | { |
|
173 | { | |
|
174 | /* | |||
174 | QTest::addColumn<Qt::Key>("key"); |
|
175 | QTest::addColumn<Qt::Key>("key"); | |
175 | QTest::addColumn<int>("Xcount"); |
|
176 | QTest::addColumn<int>("Xcount"); | |
176 | QTest::addColumn<int>("Ycount"); |
|
177 | QTest::addColumn<int>("Ycount"); | |
@@ -180,10 +181,13 void tst_QChartView::keys_data() | |||||
180 | QTest::newRow("Qt::Key_Down") << Qt::Key_Down << 0 << 1; |
|
181 | QTest::newRow("Qt::Key_Down") << Qt::Key_Down << 0 << 1; | |
181 | QTest::newRow("Qt::Key_Left") << Qt::Key_Left << 1 << 0; |
|
182 | QTest::newRow("Qt::Key_Left") << Qt::Key_Left << 1 << 0; | |
182 | QTest::newRow("Qt::Key_Right") << Qt::Key_Right << 1 << 0; |
|
183 | QTest::newRow("Qt::Key_Right") << Qt::Key_Right << 1 << 0; | |
|
184 | */ | |||
|
185 | QSKIP("Test is not implemented.", SkipAll); | |||
183 | } |
|
186 | } | |
184 |
|
187 | |||
185 | void tst_QChartView::keys() |
|
188 | void tst_QChartView::keys() | |
186 | { |
|
189 | { | |
|
190 | /* | |||
187 | QFETCH(Qt::Key,key); |
|
191 | QFETCH(Qt::Key,key); | |
188 | QFETCH(int, Xcount); |
|
192 | QFETCH(int, Xcount); | |
189 | QFETCH(int, Ycount); |
|
193 | QFETCH(int, Ycount); | |
@@ -207,6 +211,7 void tst_QChartView::keys() | |||||
207 |
|
|
211 | ||
208 | QCOMPARE(spy0.count(), Ycount); |
|
212 | QCOMPARE(spy0.count(), Ycount); | |
209 | QCOMPARE(spy1.count(), Xcount); |
|
213 | QCOMPARE(spy1.count(), Xcount); | |
|
214 | */ | |||
210 |
|
215 | |||
211 | } |
|
216 | } | |
212 |
|
217 |
General Comments 0
You need to be logged in to leave comments.
Login now