summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLi, Xiaoming <lixm.fnst@cn.fujitsu.com>2020-07-21 09:46:27 +0800
committerLi Xiaoming <lixm.fnst@cn.fujitsu.com>2020-07-21 01:57:20 +0000
commitd98644e4551f909a3b16c935e64188459b948cc7 (patch)
tree775745018640a7f313c28094f5e5fbbf05dee0bc /test
parent9d10e01e5b5ca59dda18fc24fe33ec851b2c5cf0 (diff)
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.lua6
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"})
+