diff options
author | Clément Bénier <clement.benier@iot.bzh> | 2018-10-09 11:52:39 +0200 |
---|---|---|
committer | Clément Bénier <clement.benier@iot.bzh> | 2018-10-12 18:27:24 +0200 |
commit | 731d7a904db900b7dc36ed9f5f3771653e67f41b (patch) | |
tree | c93ff19de293685b42d669b8806b05751b398f0a /test/afb-test/tests/iiodevices_BasicAPITest-devices.lua | |
parent | e240ef90ac31d1be85c528ab26646a1f6a7543be (diff) |
set_channel: no next channel when it doesn't exist
in set_channel, when channel does not exist,
next_channel has to be set to NULL
Change-Id: I512691126200b2a1cc5041b1d2855087b8da1895
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Diffstat (limited to 'test/afb-test/tests/iiodevices_BasicAPITest-devices.lua')
-rw-r--r-- | test/afb-test/tests/iiodevices_BasicAPITest-devices.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/afb-test/tests/iiodevices_BasicAPITest-devices.lua b/test/afb-test/tests/iiodevices_BasicAPITest-devices.lua index e46428a..f2e9cc4 100644 --- a/test/afb-test/tests/iiodevices_BasicAPITest-devices.lua +++ b/test/afb-test/tests/iiodevices_BasicAPITest-devices.lua @@ -21,10 +21,11 @@ local testPrefix ="iiodevices_BasicAPITest_without_devices_" -- This tests the 'subscribe' verb of the iiodevices API without any devices -_AFT.testVerbStatusError(testPrefix.."subscribe-acceleration","iiodevices","subscribe", {event = "acceleration", args = "xy"}) _AFT.testVerbStatusError(testPrefix.."subscribe-compass","iiodevices","subscribe", {event = "compass", args = "xy"}) _AFT.testVerbStatusError(testPrefix.."subscribe-gyroscope","iiodevices","subscribe", {event = "gyroscope", args = "xy"}) +_AFT.testVerbStatusError(testPrefix.."subscribe-acceleration","iiodevices","subscribe", {event = "acceleration", args = "abc"}) +_AFT.testVerbStatusError(testPrefix.."subscribe-acceleration-with-wrong-argument","iiodevices","subscribe", {event = "acceleration", args = "abc"}) _AFT.testVerbStatusError(testPrefix.."subscribe-acceleration-with-wrong-argument","iiodevices","subscribe", {event = "acceleration", aaaaaaaaaaaaaaaaaaaaa = "xy"}) _AFT.testVerbStatusError(testPrefix.."subscribe-compass-with-wrong-argument","iiodevices","subscribe", {event = "compass", bbbbbbbbbbbbbbbb = "xy"}) _AFT.testVerbStatusError(testPrefix.."subscribe-gyroscope-with-wrong-argument","iiodevices","subscribe", {event = "gyroscope", cccccccccccccccccc = "xy"}) |