aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tst_qPrefGeocoding.qml
blob: 01e2335c84d92892d3322c46ffdb8c619d6dc582 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// SPDX-License-Identifier: GPL-2.0
import QtQuick 2.6
import QtTest 1.2

TestCase {
	name: "qPrefGeocoding"

	function test_variables() {
//TBD		var x1 = PrefGeocoding.first_taxonomy_category
//TBD		PrefGeocoding.first_taxonomy_category = ??
//TBD		compare(PrefGeocoding.first_taxonom_categroy, ??)

//TBD		var x2 = PrefGeocoding.second_taxonomy_category
//TBD		PrefGeocoding.second_taxonomy_category = ??
//TBD		compare(PrefGeocoding.second_taxonom_categroy, ??)

//TBD		var x3 = PrefGeocoding.third_taxonomy_category
//TBD		PrefGeocoding.third_taxonomy_category = ??
//TBD		compare(PrefGeocoding.third_taxonom_categroy, ??)
	}

	Item {
		id: spyCatcher

//TBD		property bool spy1 : false
//TBD		property bool spy2 : false
//TBD		property bool spy3 : false

		Connections {
			target: PrefGeocoding
//TBD			onChanged: {spyCatcher.spy1 = true }
		}
	}

	function test_signals() {
//TBD		PrefGeocoding.first_taxonomy_category = ??
//TBD		PrefGeocoding.second_taxonomy_category = ??
//TBD		PrefGeocoding.third_taxonomy_category = ??

//TBD		compare(spyCatcher.spy1, true)
//TBD		compare(spyCatcher.spy2, true)
//TBD		compare(spyCatcher.spy3, true)
	}
}