diff options
author | jan Iversen <jani@apache.org> | 2018-09-07 13:53:00 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-11 17:25:00 -0700 |
commit | 1ee726597239db4e1fd66b5ad70983a127280414 (patch) | |
tree | c2f045b5c3acb385e2bd6d1625924e7e1f02cfce /tests/tst_qPrefGeocoding.qml | |
parent | 684e334fb6098e604a91d140c1e2ea0883dff081 (diff) | |
download | subsurface-1ee726597239db4e1fd66b5ad70983a127280414.tar.gz |
tests: update qml test cases
use new qml registration
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/tst_qPrefGeocoding.qml')
-rw-r--r-- | tests/tst_qPrefGeocoding.qml | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/tests/tst_qPrefGeocoding.qml b/tests/tst_qPrefGeocoding.qml index eb65bb7ed..f28eaba28 100644 --- a/tests/tst_qPrefGeocoding.qml +++ b/tests/tst_qPrefGeocoding.qml @@ -1,26 +1,21 @@ // 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 x1 = PrefGeocoding.first_taxonomy_category +//TBD PrefGeocoding.first_taxonomy_category = ?? +//TBD compare(PrefGeocoding.first_taxonom_categroy, ??) -//TBD var x2 = geo.second_taxonomy_category -//TBD geo.second_taxonomy_category = ?? -//TBD compare(geo.second_taxonom_categroy, ??) +//TBD var x2 = PrefGeocoding.second_taxonomy_category +//TBD PrefGeocoding.second_taxonomy_category = ?? +//TBD compare(PrefGeocoding.second_taxonom_categroy, ??) -//TBD var x3 = geo.third_taxonomy_category -//TBD geo.third_taxonomy_category = ?? -//TBD compare(geo.third_taxonom_categroy, ??) +//TBD var x3 = PrefGeocoding.third_taxonomy_category +//TBD PrefGeocoding.third_taxonomy_category = ?? +//TBD compare(PrefGeocoding.third_taxonom_categroy, ??) } } |