mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 19:43:23 +00:00
tests: add Geocoding qml test cases
Add tst_qPrefGeocoding qml file to test C++ qml connection Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
80583e63b5
commit
c912ac053e
1 changed files with 26 additions and 0 deletions
26
tests/tst_qPrefGeocoding.qml
Normal file
26
tests/tst_qPrefGeocoding.qml
Normal file
|
@ -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, ??)
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue