diff options
author | Frederic Marec <frederic.marec@iot.bzh> | 2019-01-29 10:12:52 +0100 |
---|---|---|
committer | Frédéric Marec <frederic.marec@iot.bzh> | 2019-04-08 08:27:38 +0000 |
commit | 3786d73cd834672592089882de40d4fe3fb0510f (patch) | |
tree | 2b97b5cc2d6bd35c7ea8f2e5737dcf0da6276207 /test | |
parent | 36721c55b616bdce8b8f79ff3c7042ef54d18478 (diff) |
Increase tests for 4a-softmixer binding
Change-Id: I90f81a33cc66c80baa813991469deb91da7aee63
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Diffstat (limited to 'test')
-rw-r--r-- | test/afb-test/etc/aft-smixer-config.json | 2 | ||||
-rw-r--r-- | test/afb-test/fixtures/beforeAll.sh | 2 | ||||
-rw-r--r-- | test/afb-test/tests/4a-softmixer_BasicAPITest.lua | 12 |
3 files changed, 15 insertions, 1 deletions
diff --git a/test/afb-test/etc/aft-smixer-config.json b/test/afb-test/etc/aft-smixer-config.json index 2a9ba1c..d811c32 100644 --- a/test/afb-test/etc/aft-smixer-config.json +++ b/test/afb-test/etc/aft-smixer-config.json @@ -15,7 +15,7 @@ "info": "Launch all the tests", "action": "lua://AFT#_launch_test", "args": { - "trace": "smixer", + "trace": "smixer" , "files": ["4a-softmixer_BasicAPITest.lua"] } } diff --git a/test/afb-test/fixtures/beforeAll.sh b/test/afb-test/fixtures/beforeAll.sh index 4fcfc6d..be61341 100644 --- a/test/afb-test/fixtures/beforeAll.sh +++ b/test/afb-test/fixtures/beforeAll.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + ########################################################################### # Copyright 2018 IoT.bzh # diff --git a/test/afb-test/tests/4a-softmixer_BasicAPITest.lua b/test/afb-test/tests/4a-softmixer_BasicAPITest.lua index f16b239..ace17d5 100644 --- a/test/afb-test/tests/4a-softmixer_BasicAPITest.lua +++ b/test/afb-test/tests/4a-softmixer_BasicAPITest.lua @@ -31,3 +31,15 @@ local testPrefix ="4a-smixer_BasicAPITest_" -- This tests the ping verb of the audio High level API _AFT.testVerbStatusSuccess(testPrefix.."ping","smixer","ping",{}, nil, nil) + +-- This tests the attach verb of the audio High level API +_AFT.testVerbStatusSuccess(testPrefix.."attach","smixer","attach",{}, nil, nil) + +-- This tests the remove verb of the audio High level API +_AFT.testVerbStatusSuccess(testPrefix.."remove","smixer","remove",{}, nil, nil) + +-- This tests the info verb of the audio High level API +_AFT.testVerbStatusSuccess(testPrefix.."info","smixer","info",{verbose = true}, nil, nil) + +-- This tests the bluezalsa_dev verb of the audio High level API +_AFT.testVerbStatusSuccess(testPrefix.."bluezalsa_dev","smixer","bluezalsa_dev",{}, nil, nil)
\ No newline at end of file |