-# Overview of tests shipped with AFB-Daemon
- Version: 1
- Date: 30 mai 2016
- Author: Manuel Bachmann
+Overview of tests shipped with AFB-Daemon
+=========================================
-## List of tests
+List of tests
+-------------
Here are the tests shipped in the source tree:
* **afb-client-demo** (command-line WebSockets)
+
* **token-websock.qml** (Qt/QML WebSockets)
+
* ***.html** (HTML5/JS HTTP-REST & WebSockets)
-## Detail of tests
+Detail of tests
+---------------
### afb-client-demo (command-line WebSockets)
-This clients interactively calls plugins APIs from the command line, using the binder
+This clients interactively calls bindings APIs from the command line, using the binder
[WebSockets](https://en.wikipedia.org/wiki/WebSocket) facility.
If _afb-daemon_ has been launched with the following parameters:
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
So, try:
auth connect
- audio init
+ hello pingjson true
<br />
$ apt-get install qmlscene qml-module-qtwebsockets qml-module-qtquick-controls
-For installing Qt5 on **Fedora 23** :
+For installing Qt5 on **Fedora >= 22** :
$ dnf install qt5-qtdeclarative-devel qt5-qtwebsockets-devel qt5-qtquickcontrols