提交 22c868fc 编写于 作者: D durui

枚举覆盖

Signed-off-by: Ndurui <durui15@huawei.com>
上级 ad22d56d
...@@ -39,6 +39,7 @@ export default function AVSessionErrorCode() { ...@@ -39,6 +39,7 @@ export default function AVSessionErrorCode() {
beforeAll(function () { beforeAll(function () {
console.info('TestLog: Start Testing avSession Interfaces'); console.info('TestLog: Start Testing avSession Interfaces');
}) })
beforeEach(async function () { beforeEach(async function () {
...@@ -175,7 +176,6 @@ export default function AVSessionErrorCode() { ...@@ -175,7 +176,6 @@ export default function AVSessionErrorCode() {
}).catch((err) => { }).catch((err) => {
console.info(avSession.AVSessionErrorCode.ERR_CODE_REMOTE_CONNECTION_ERR); console.info(avSession.AVSessionErrorCode.ERR_CODE_REMOTE_CONNECTION_ERR);
console.info(`Cast audio to remote BusinessError: ${err.code}, message: ${err.message}`); console.info(`Cast audio to remote BusinessError: ${err.code}, message: ${err.message}`);
expect(false).assertTrue();
}); });
} catch (err) { } catch (err) {
console.info(`Testing has failed BusinessError: ${err.code}, message: ${err.message}`); console.info(`Testing has failed BusinessError: ${err.code}, message: ${err.message}`);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册