aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf.d/project/etc/smixer-smixer-test-config.json1
-rw-r--r--test/afb-test/etc/aft-smixer-config.json2
-rw-r--r--test/afb-test/fixtures/beforeAll.sh2
-rw-r--r--test/afb-test/tests/4a-softmixer_BasicAPITest.lua12
4 files changed, 15 insertions, 2 deletions
diff --git a/conf.d/project/etc/smixer-smixer-test-config.json b/conf.d/project/etc/smixer-smixer-test-config.json
index 8643175..d9b4a13 100644
--- a/conf.d/project/etc/smixer-smixer-test-config.json
+++ b/conf.d/project/etc/smixer-smixer-test-config.json
@@ -10,7 +10,6 @@
{
"uid": "softmixer",
"info": "Map alsa-loop subdevices to 4A HAL streams",
- "spath": "./package/lib/plugins:./package/var:./lib/plugins:./var",
"libs": ["alsa-softmixer.ctlso", "smixer-test-usb_8ch.lua"]
}
],
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