提交 da59f381 编写于 作者: D durui

add destroy

Signed-off-by: Ndurui <durui15@huawei.com>
上级 c5c16352
......@@ -39,7 +39,7 @@ export default function AVSessionManager() {
afterEach(async function () {
await sleep(5000);
if(currentAVSession){
if (currentAVSession){
await currentAVSession.destroy();
}
console.info('TestLog: End testing testcase');
......@@ -59,7 +59,7 @@ export default function AVSessionManager() {
*/
it('SUB_MULTIMEDIA_AVSESSION_CREATEAVSESSION_PROMISE_0100', 0, async function (done) {
await avSession.createAVSession(context, tag, type).then((data) => {
session = data;
currentAVSession = data;
if (currentAVSession.sessionId.length === 64) {
console.info('TestLog: avSession create successfully');
expect(true).assertTrue();
......
......@@ -23,11 +23,11 @@ import AVSessionEnum from './AVSessionEnum.test.js'
export default function testsuite() {
AVSession()
AVSessionManager()
AVSessionCallback()
AVSessionManagerCallback()
AVSessionErrorCode()
AVSessionJSTest ()
AVSessionControllerJSTest ()
AVSessionEnum()
AVSessionManager()
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册