X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=doc%2Fafb-tests-overview.html;h=549fe492a44b397a89c63fe2cbeb37b54e014489;hb=677813c6a26eca5629ef8201fd0616511400a99e;hp=e9711c4ecda207f212aad50d43997ecb18b6b3b9;hpb=17b196f1326d6b6c249d44b8744d73d7bba12d7a;p=src%2Fapp-framework-binder.git diff --git a/doc/afb-tests-overview.html b/doc/afb-tests-overview.html index e9711c4e..549fe492 100644 --- a/doc/afb-tests-overview.html +++ b/doc/afb-tests-overview.html @@ -18,7 +18,7 @@

Overview of tests shipped with AFB-Daemon

Manuel Bachmann

José Bollo

-

09 juin 2016

+

24 juin 2016

Overview of tests shipped with AFB-Daemon

-
Version: 1
-Date:    09 juin 2016
-Author:  Manuel Bachmann

List of tests

Here are the tests shipped in the source tree:

Detail of tests

afb-client-demo (command-line WebSockets)

-

This clients interactively calls plugins APIs from the command line, using the binder WebSockets facility.

+

This clients interactively calls bindings APIs from the command line, using the binder WebSockets facility.

If afb-daemon has been launched with the following parameters:

$ afb-daemon --port=1234 --token=123456 [...]

Then run the client with :

afb-client-demo ws://localhost:1234/api?token=123456 [<api> <verb> [<json-data>]]
-

For instance, to initialize the Audio plugin from the command line :

+

For instance, to initialize the Audio binding from the command line :

afb-client-demo ws://localhost:1234/api?token=123456

The command doesn't return. You should type requests of type []. So, try:

auth connect