X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=doc%2Fafb-tests-overview.html;h=27231a088339f962826487ed6bdbf821b9b99b8a;hb=36e53e878baaa9d56c09097ada0b7061266caff8;hp=f663a75f97659cd40c0a1b84a10f9aec8304b0ad;hpb=741d4e0505c588f38a64350c1d3c53c74f7ac22c;p=src%2Fapp-framework-binder.git diff --git a/doc/afb-tests-overview.html b/doc/afb-tests-overview.html index f663a75f..27231a08 100644 --- a/doc/afb-tests-overview.html +++ b/doc/afb-tests-overview.html @@ -5,18 +5,20 @@ + Overview of tests shipped with AFB-Daemon + -

Overview of tests shipped with AFB-Daemon

Manuel Bachmann

-

30 mai 2016

+

José Bollo

+

24 juin 2016

Overview of tests shipped with AFB-Daemon

-
Version: 1
-Date:    30 mai 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