summaryrefslogtreecommitdiffstats
path: root/test/afb-test/etc/aft-agl-service-iiodevices-test.json
diff options
context:
space:
mode:
authorFrederic Marec <frederic.marec@iot.bzh>2018-08-28 17:01:48 +0200
committerFrédéric Marec <frederic.marec@iot.bzh>2018-10-04 12:37:01 +0000
commitc729e902dff501c8c3e441d49c6d0fe1ad28eede (patch)
treed4678a3e7115149a17ce796752e32dc403c52c52 /test/afb-test/etc/aft-agl-service-iiodevices-test.json
parent0648db82e6a5694befcf9e2fff25f4392e6814e1 (diff)
Add tests for iiodevice binding
Add test for accelerometer, compass and gyroscope Add script beforeAll.sh to initiate iio dummy devices Add Readme.md to describe how to use test Fix BUILD_TYPE in cmake.config Change-Id: I39edfce6a43b519c0ff6bc0a7d2f1d2477098cff Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Diffstat (limited to 'test/afb-test/etc/aft-agl-service-iiodevices-test.json')
-rw-r--r--test/afb-test/etc/aft-agl-service-iiodevices-test.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/afb-test/etc/aft-agl-service-iiodevices-test.json b/test/afb-test/etc/aft-agl-service-iiodevices-test.json
new file mode 100644
index 0000000..84698b6
--- /dev/null
+++ b/test/afb-test/etc/aft-agl-service-iiodevices-test.json
@@ -0,0 +1,22 @@
+{
+ "id": "http://iot.bzh/download/public/schema/json/ctl-schema.json#",
+ "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json#",
+ "metadata": {
+ "uid": "Test",
+ "version": "1.0",
+ "api": "aft-iiodevices",
+ "info": "AFB-test binding configuration file to test iiodevices api.",
+ "require": [
+ "iiodevices"
+ ]
+ },
+ "testVerb": {
+ "uid": "launch_all_tests",
+ "info": "Launch all the tests",
+ "action": "lua://AFT#_launch_test",
+ "args": {
+ "trace": "iiodevices",
+ "files": ["iiodevices_BasicAPITest-devices.lua", "iiodevices_BasicAPITest.lua"]
+ }
+ }
+} \ No newline at end of file