diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/afb-test/tests/aft-BasicAPITests.lua | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/test/afb-test/tests/aft-BasicAPITests.lua b/test/afb-test/tests/aft-BasicAPITests.lua index b2d4bdd..77b645a 100644 --- a/test/afb-test/tests/aft-BasicAPITests.lua +++ b/test/afb-test/tests/aft-BasicAPITests.lua @@ -52,6 +52,8 @@ _AFT.setBeforeAll(function() end end) +local ev_mon_arg = "monitor-devices" + -- This tests the 'get' verb of the platform-info API _AFT.testVerbStatusSuccess(testPrefix.."get", "platform-info", "get", ".layers.agl-manifest") @@ -61,8 +63,11 @@ _AFT.testVerbStatusSuccess(testPrefix.."get", "platform-info", "get", {}) -- This tests the 'set' verb of the platform-info API _AFT.testVerbStatusSuccess(testPrefix.."set", "platform-info", "set", {arg=".build.layers.agl-manifest.revision", value="test"}) --- This tests the 'subscribe' verb of the platform-info API -_AFT.testVerbStatusSuccess(testPrefix.."subscribe", "platform-info", "subscribe", {}) +-- This tests the 'subscribe' verb of the platform-info API for monitoring devices +_AFT.testVerbStatusSuccess(testPrefix.."subscribe", "platform-info", "subscribe", {event=ev_mon_arg}) + +-- This tests the 'unsubscribe' verb of the platform-info API for monitoring devices +_AFT.testVerbStatusSuccess(testPrefix.."unsubscribe", "platform-info", "unsubscribe", {event=ev_mon_arg}) --- This tests the 'unsubscribe' verb of the platform-info API -_AFT.testVerbStatusSuccess(testPrefix.."unsubscribe", "platform-info", "unsubscribe", {})
\ No newline at end of file +-- This tests the 'scan' verb of the platform-info API +_AFT.testVerbStatusSuccess(testPrefix.."scan", "platform-info", "scan", {})
\ No newline at end of file |