mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
tests: add signal test to call tst_qPref*qml
Add signal testing of all variables Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
c01d9f60c1
commit
848d277951
14 changed files with 682 additions and 3 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue