diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-10-21 13:10:49 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-10-22 06:13:00 +0300 |
commit | 208cb0638f27dc3897034b3d01dec45843eb12db (patch) | |
tree | 6242d1b6658c8cb4027dbc0c6d6731853e9a4235 /tests/auto/cpptest/q3dbars/tst_bars.cpp | |
parent | f7f1e1373e652ea2de1666f4b626bf35e367d84b (diff) |
Added autotests for C++ axes
Task-number: QTRD-3368
Change-Id: I79f49ba839f191b64206f38763b2afff167757b7
Change-Id: I79f49ba839f191b64206f38763b2afff167757b7
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
Diffstat (limited to 'tests/auto/cpptest/q3dbars/tst_bars.cpp')
-rw-r--r-- | tests/auto/cpptest/q3dbars/tst_bars.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/cpptest/q3dbars/tst_bars.cpp b/tests/auto/cpptest/q3dbars/tst_bars.cpp index 4535c026..6910e4fa 100644 --- a/tests/auto/cpptest/q3dbars/tst_bars.cpp +++ b/tests/auto/cpptest/q3dbars/tst_bars.cpp @@ -112,6 +112,9 @@ void tst_bars::initialProperties() QVERIFY(!m_graph->selectedSeries()); QVERIFY(!m_graph->primarySeries()); QCOMPARE(m_graph->floorLevel(), 0.0); + QCOMPARE(m_graph->columnAxis()->orientation(), QAbstract3DAxis::AxisOrientationX); + QCOMPARE(m_graph->valueAxis()->orientation(), QAbstract3DAxis::AxisOrientationY); + QCOMPARE(m_graph->rowAxis()->orientation(), QAbstract3DAxis::AxisOrientationZ); // Common properties QCOMPARE(m_graph->activeTheme()->type(), Q3DTheme::ThemeQt); |