aboutsummaryrefslogtreecommitdiffstats
path: root/test/afb-test/etc/aft-signal-composer_config.json
blob: 4ec22855f16e2065c54e71d1af1795ed63f3ddd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
    "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-signal-composer",
        "info": "AFB-test binding configuration file to test signal-composer api.",
        "require": [
            "signal-composer"
        ]
    },
    "testVerb": {
        "uid": "launch_all_tests",
        "info": "Launch all the tests",
        "action": "lua://AFT#_launch_test",
        "args": {
            "trace": "signal-composer",
            "files": ["signal-composer_BasicAPITest.lua"]
        }
    },
    "mapis": [{
        "uid": "txc-binding",
        "info": "Faked txc-binding API",
        "libs": "txc-binding.c",
        "verbs": [
            {
                "uid": "subscribe",
                "info": "Subscribe to signals events",
                "action": "plugin://txc-binding#subscribe"
            },
            {
                "uid": "unsubscribe",
                "info": "Unsubscribe previously suscribed signals.",
                "action": "plugin://txc-binding#unsubscribe"
            },
            {
                "uid": "start",
                "info": "Start playing trace file.",
                "action": "plugin://txc-binding#start"
            },
            {
                "uid": "stop",
                "info": "Start playing trace file.",
                "action": "plugin://txc-binding#stop"
            }
        ]
    }]
}