summaryrefslogtreecommitdiffstats
path: root/test/afb-test/etc/aft-signal-composer_config.json
blob: cab8f24b18275eca1d2d36f54439ad495855bc61 (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.ctlso",
        "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"
            }
        ]
    }]
}