diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-10-21 11:05:45 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-10-21 11:23:12 +0300 |
commit | f7f1e1373e652ea2de1666f4b626bf35e367d84b (patch) | |
tree | 1f459e063e0f87e302bf331a1a6f95252577ac3b /tests/auto/cpptest/q3dbars/tst_bars.cpp | |
parent | 0cc8662c1b245c50910f44153fdb3124dd22abd8 (diff) |
Added C++ autotests for series
Also fixed a bug found in testing, and added tests for
optional constructors for already tested classes.
Task-number: QTRD-3368
Change-Id: I2214f28e2c5069ecab422fc6817acb2f0c0b192b
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Diffstat (limited to 'tests/auto/cpptest/q3dbars/tst_bars.cpp')
-rw-r--r-- | tests/auto/cpptest/q3dbars/tst_bars.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/cpptest/q3dbars/tst_bars.cpp b/tests/auto/cpptest/q3dbars/tst_bars.cpp index 630afac3..4535c026 100644 --- a/tests/auto/cpptest/q3dbars/tst_bars.cpp +++ b/tests/auto/cpptest/q3dbars/tst_bars.cpp @@ -95,6 +95,10 @@ void tst_bars::construct() Q3DBars *graph = new Q3DBars(); QVERIFY(graph); delete graph; + + graph = new Q3DBars(new QSurfaceFormat()); + QVERIFY(graph); + delete graph; } void tst_bars::initialProperties() |