diff options
Diffstat (limited to 'test/afb-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 |