diff options
Diffstat (limited to 'tests/auto/qmltest/axis3d/tst_logvalue.qml')
-rw-r--r-- | tests/auto/qmltest/axis3d/tst_logvalue.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qmltest/axis3d/tst_logvalue.qml b/tests/auto/qmltest/axis3d/tst_logvalue.qml index fad93611..89228ad1 100644 --- a/tests/auto/qmltest/axis3d/tst_logvalue.qml +++ b/tests/auto/qmltest/axis3d/tst_logvalue.qml @@ -40,6 +40,10 @@ Item { id: change } + LogValueAxis3DFormatter { + id: invalid + } + TestCase { name: "LogValueAxis3DFormatter Initial" @@ -73,4 +77,15 @@ Item { compare(change.showEdgeLabels, false) } } + + TestCase { + name: "LogValueAxis3DFormatter Invalid" + + function test_invalid() { + invalid.base = 1 + compare(invalid.base, 10) + invalid.base = -1 + compare(invalid.base, 10) + } + } } |