summaryrefslogtreecommitdiffstats
path: root/tests/tst_qPrefGeocoding.qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-08-28 12:33:47 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-11 17:25:00 -0700
commit848d2779519b365ba3cfd17838680f5b0cf6eb32 (patch)
tree6a6de26e370994fd018b37591a223b36dfd2f122 /tests/tst_qPrefGeocoding.qml
parentc01d9f60c14ec9ee58892504e9f5c346dbb24e7e (diff)
downloadsubsurface-848d2779519b365ba3cfd17838680f5b0cf6eb32.tar.gz
tests: add signal test to call tst_qPref*qml
Add signal testing of all variables Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/tst_qPrefGeocoding.qml')
-rw-r--r--tests/tst_qPrefGeocoding.qml23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/tst_qPrefGeocoding.qml b/tests/tst_qPrefGeocoding.qml
index f28eaba28..01e2335c8 100644
--- a/tests/tst_qPrefGeocoding.qml
+++ b/tests/tst_qPrefGeocoding.qml
@@ -18,4 +18,27 @@ TestCase {
//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)
+ }
}