diff options
author | Li, Xiaoming <lixm.fnst@cn.fujitsu.com> | 2020-07-21 09:46:27 +0800 |
---|---|---|
committer | Li Xiaoming <lixm.fnst@cn.fujitsu.com> | 2020-07-21 01:57:20 +0000 |
commit | d98644e4551f909a3b16c935e64188459b948cc7 (patch) | |
tree | 775745018640a7f313c28094f5e5fbbf05dee0bc /test | |
parent | 9d10e01e5b5ca59dda18fc24fe33ec851b2c5cf0 (diff) |
fix(bluetooth-map.lua): add message and list_messages testkoi_10.93.0koi_10.92.0koi_10.91.0koi/10.93.0koi/10.92.0koi/10.91.0jellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.29.99.49.99.39.99.210.93.010.92.010.91.0
Complete the misssing verb test.
About the msg string in message verb:
In order to get a real msg, we need to add extra lua code to read
the response of list_messages verb first. In this phase, I will
use a random string for it, and later add condition code to optimise
them.
Bug-AGL: SPEC-3458
Change-Id: Ieb0e8622ecf1e5d8d0c0daa5d6ba522b7e1016ef
Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/afb-test/tests/bluetooth-map.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/afb-test/tests/bluetooth-map.lua b/test/afb-test/tests/bluetooth-map.lua index 5ee4268..a5f04d1 100644 --- a/test/afb-test/tests/bluetooth-map.lua +++ b/test/afb-test/tests/bluetooth-map.lua @@ -20,3 +20,9 @@ _AFT.testVerbStatusSuccess('testcomposeSuccess','bluetooth-map','compose', {recipient="+639203600900", message="AGL bluetooth-map message sent successfully"}) _AFT.testVerbStatusSuccess('testsubscribeSuccess','bluetooth-map','subscribe', {value="notification"}) _AFT.testVerbStatusSuccess('testunsubscribeSuccess','bluetooth-map','unsubscribe', {value="notification"}) + +_AFT.testVerbStatusSuccess('testListMsgSuccess','bluetooth-map','list_messages', {folder="INBOX"}) + +-- "message" verb test depends on the "list_messages" verb result, it need to add context later +_AFT.testVerbStatusSkipped('testMsgSuccess','bluetooth-map','message', {handle="message288230376151711769"}) + |