@@ -231,7 +231,7 void tst_ChartDataSet::setAxisX() | |||||
231 | QSignalSpy spy7(m_dataset, SIGNAL(seriesRemoved(QAbstractSeries *))); |
|
231 | QSignalSpy spy7(m_dataset, SIGNAL(seriesRemoved(QAbstractSeries *))); | |
232 |
|
232 | |||
233 | for(int i=0 ; i < seriesList.count(); i++){ |
|
233 | for(int i=0 ; i < seriesList.count(); i++){ | |
234 |
m_dataset->setAxis |
|
234 | m_dataset->setAxis(seriesList.at(i),axisList.at(i),Qt::Horizontal); | |
235 | } |
|
235 | } | |
236 |
|
236 | |||
237 | TRY_COMPARE(spy4.count(), axisCount); |
|
237 | TRY_COMPARE(spy4.count(), axisCount); | |
@@ -277,7 +277,7 void tst_ChartDataSet::setAxisY() | |||||
277 | QSignalSpy spy7(m_dataset, SIGNAL(seriesRemoved(QAbstractSeries *))); |
|
277 | QSignalSpy spy7(m_dataset, SIGNAL(seriesRemoved(QAbstractSeries *))); | |
278 |
|
278 | |||
279 | for(int i=0 ; i < seriesList.count(); i++){ |
|
279 | for(int i=0 ; i < seriesList.count(); i++){ | |
280 |
m_dataset->setAxis |
|
280 | m_dataset->setAxis(seriesList.at(i),axisList.at(i),Qt::Vertical); | |
281 | } |
|
281 | } | |
282 |
|
282 | |||
283 | TRY_COMPARE(spy4.count(), axisCount); |
|
283 | TRY_COMPARE(spy4.count(), axisCount); | |
@@ -345,7 +345,7 void tst_ChartDataSet::removeAllSeries() | |||||
345 | } |
|
345 | } | |
346 |
|
346 | |||
347 | for (int i = 0; i < seriesList.count(); i++) { |
|
347 | for (int i = 0; i < seriesList.count(); i++) { | |
348 |
m_dataset->setAxis |
|
348 | m_dataset->setAxis(seriesList.at(i), axisList.at(i),Qt::Horizontal); | |
349 | } |
|
349 | } | |
350 |
|
350 | |||
351 | QSignalSpy spy0(m_dataset, SIGNAL(axisAdded(QAbstractAxis *, Domain *))); |
|
351 | QSignalSpy spy0(m_dataset, SIGNAL(axisAdded(QAbstractAxis *, Domain *))); |
General Comments 0
You need to be logged in to leave comments.
Login now