From 4772c5626204f6ab0e26b938f49a6719fb10f88d Mon Sep 17 00:00:00 2001 From: José Bollo Date: Tue, 24 Jul 2018 12:53:15 +0200 Subject: coverage: Improve coverage test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test now raise an overall coverage rate: lines......: 75.4% (8356 of 11080 lines) functions..: 80.4% (1094 of 1360 functions) Also Improve the documentation and improve parts of code. Change-Id: Ic2b8bc2f85d4181aa0b358a953f95cb105a0eed9 Signed-off-by: José Bollo --- coverage/scripts/02-hello.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'coverage/scripts/02-hello.sh') diff --git a/coverage/scripts/02-hello.sh b/coverage/scripts/02-hello.sh index 9e3a9b08..de6e2de4 100755 --- a/coverage/scripts/02-hello.sh +++ b/coverage/scripts/02-hello.sh @@ -38,9 +38,22 @@ hello eventdel {"tag":"ev2"} hello hasperm {"perm":"some-permissison"} hello appid true hello uid true +hello reftok true +hello has_loa-1 +hello has_loa-2 +hello has_loa-3 hello set-loa 1 +hello has_loa-1 +hello has_loa-2 +hello has_loa-3 hello set-loa 3 +hello has_loa-1 +hello has_loa-2 +hello has_loa-3 hello close true +hello has_loa-1 +hello has_loa-2 +hello has_loa-3 hello setctx "some-text-0" hello setctxif "some-text-1" hello getctx @@ -89,6 +102,7 @@ extra ping {"c":[1,2,3]} extra query {"c":[1,2,3]} extra blablabla {"c":[1,2,3]} extra api {"action":"addverb","verb":"ping"} +extra call {"api":"hello","verb":"eventunsub","args":{"tag":"EVENT"}} extra ping {"c":[1,2,3]} hello api {"action":"destroy","api":"extra"} extra ping {"c":[1,2,3]} -- cgit 1.2.3-korg