diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-10-15 07:47:56 -0400 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2018-10-15 19:46:18 +0200 |
commit | a6e4de6b5e42a5581161f780cea093a882baf89b (patch) | |
tree | 2c790b60d64e653e96933fb45f19da939ff811a4 /tests/tst_qPrefDiveComputer.qml | |
parent | a20626a8741fe0042287ae11abd0041310c1692f (diff) | |
download | subsurface-a6e4de6b5e42a5581161f780cea093a882baf89b.tar.gz |
Tests: remove testing of download_mode
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests/tst_qPrefDiveComputer.qml')
-rw-r--r-- | tests/tst_qPrefDiveComputer.qml | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/tst_qPrefDiveComputer.qml b/tests/tst_qPrefDiveComputer.qml index 55554b2df..0e3a36eda 100644 --- a/tests/tst_qPrefDiveComputer.qml +++ b/tests/tst_qPrefDiveComputer.qml @@ -14,10 +14,6 @@ TestCase { PrefDiveComputer.device_name = "my device name" compare(PrefDiveComputer.device_name, "my device name") - var x3 = PrefDiveComputer.download_mode - PrefDiveComputer.download_mode = 19 - compare(PrefDiveComputer.download_mode, 19) - var x4 = PrefDiveComputer.product PrefDiveComputer.product = "my product" compare(PrefDiveComputer.product, "my product") @@ -32,7 +28,6 @@ TestCase { property bool spy1 : false property bool spy2 : false - property bool spy3 : false property bool spy4 : false property bool spy5 : false @@ -40,7 +35,6 @@ TestCase { target: PrefDiveComputer onDeviceChanged: {spyCatcher.spy1 = true } onDevice_nameChanged: {spyCatcher.spy2 = true } - onDownload_modeChanged: {spyCatcher.spy3 = true } onProductChanged: {spyCatcher.spy4 = true } onVendorChanged: {spyCatcher.spy5 = true } } @@ -49,13 +43,11 @@ TestCase { function test_signals() { PrefDiveComputer.device = "qml" PrefDiveComputer.device_name = "qml" - PrefDiveComputer.download_mode = -19 PrefDiveComputer.product = "qml" PrefDiveComputer.vendor = "qml" compare(spyCatcher.spy1, true) compare(spyCatcher.spy2, true) - compare(spyCatcher.spy3, true) compare(spyCatcher.spy4, true) compare(spyCatcher.spy5, true) } |