diff options
author | jan Iversen <jani@apache.org> | 2018-08-10 21:01:44 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-13 15:04:50 -0700 |
commit | c912ac053e1f6705951dbdebba2d883ed2aced92 (patch) | |
tree | 6d6dc51c5674ecc07273d772ba7b9e3a0830550b /tests/tst_qPrefGeocoding.qml | |
parent | 80583e63b5ff5c5247df379cb224b3cbd8cce8ab (diff) | |
download | subsurface-c912ac053e1f6705951dbdebba2d883ed2aced92.tar.gz |
tests: add Geocoding qml test cases
Add tst_qPrefGeocoding qml file to test C++ qml connection
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/tst_qPrefGeocoding.qml')
-rw-r--r-- | tests/tst_qPrefGeocoding.qml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/tst_qPrefGeocoding.qml b/tests/tst_qPrefGeocoding.qml new file mode 100644 index 000000000..eb65bb7ed --- /dev/null +++ b/tests/tst_qPrefGeocoding.qml @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: GPL-2.0 +import QtQuick 2.6 +import QtTest 1.2 +import org.subsurfacedivelog.mobile 1.0 + +TestCase { + name: "qPrefGeocoding" + + SsrfGeocodingPrefs { + id: geo + } + + function test_variables() { +//TBD var x1 = geo.first_taxonomy_category +//TBD geo.first_taxonomy_category = ?? +//TBD compare(geo.first_taxonom_categroy, ??) + +//TBD var x2 = geo.second_taxonomy_category +//TBD geo.second_taxonomy_category = ?? +//TBD compare(geo.second_taxonom_categroy, ??) + +//TBD var x3 = geo.third_taxonomy_category +//TBD geo.third_taxonomy_category = ?? +//TBD compare(geo.third_taxonom_categroy, ??) + } +} |