##// END OF EJS Templates
fix some axis visible errors in tst_qabstractaxis
Jani Honkonen -
r2266:9bbbcc2773e8
parent child
Show More
@@ -54,7 +54,7 void tst_QAbstractAxis::qabstractaxis()
54 QCOMPARE(m_axis->gridLinePen(), QPen());
54 QCOMPARE(m_axis->gridLinePen(), QPen());
55 QCOMPARE(m_axis->isLineVisible(), true);
55 QCOMPARE(m_axis->isLineVisible(), true);
56 QCOMPARE(m_axis->isGridLineVisible(), true);
56 QCOMPARE(m_axis->isGridLineVisible(), true);
57 QCOMPARE(m_axis->isVisible(), false);
57 QCOMPARE(m_axis->isVisible(), true);
58 QCOMPARE(m_axis->labelsAngle(), 0);
58 QCOMPARE(m_axis->labelsAngle(), 0);
59 QCOMPARE(m_axis->labelsBrush(), QBrush());
59 QCOMPARE(m_axis->labelsBrush(), QBrush());
60 //TODO QCOMPARE(m_axis->labelsColor(), QColor());
60 //TODO QCOMPARE(m_axis->labelsColor(), QColor());
@@ -310,7 +310,7 void tst_QAbstractAxis::visible()
310 m_chart->setAxisX(m_axis, m_series);
310 m_chart->setAxisX(m_axis, m_series);
311 m_view->show();
311 m_view->show();
312 QTest::qWaitForWindowShown(m_view);
312 QTest::qWaitForWindowShown(m_view);
313 QCOMPARE(m_axis->isVisible(), true);
313 QCOMPARE(m_axis->isVisible(), visible);
314 }
314 }
315
315
316 void tst_QAbstractAxis::labelsAngle_data()
316 void tst_QAbstractAxis::labelsAngle_data()
General Comments 0
You need to be logged in to leave comments. Login now