提交 eccf9413 编写于 作者: W wangzx0705

modify some code format

Signed-off-by: Nwangzx0705 <wangzx0705@thundersoft.com>
上级 d184ec6d
...@@ -435,10 +435,10 @@ export default function audioManagerTest() { ...@@ -435,10 +435,10 @@ export default function audioManagerTest() {
await audioVolumeGroupManager.getSystemVolumeInDb(3, audio.DeviceType.SPEAKER, (err, data) => { await audioVolumeGroupManager.getSystemVolumeInDb(3, audio.DeviceType.SPEAKER, (err, data) => {
if (err) { if (err) {
console.log(`${TagFrmwk}getSystemVolumeInDb : error ${err.message} ${err.code}`); console.log(`${TagFrmwk}getSystemVolumeInDb : error ${err.message} ${err.code}`);
expect(Number(err.code)).assertEqual(env.INVALID_INPUT_PARAMETER_6800101); expect(false).assertTrue();
done(); done();
} else { } else {
console.log(`${TagFrmwk}: getSystemVolumeInDb : error ${err.message} ${err.code}`); console.log(`${TagFrmwk}: getSystemVolumeInDb testcase FAIL! `);
expect(false).assertTrue(); expect(false).assertTrue();
done(); done();
} }
...@@ -466,7 +466,7 @@ export default function audioManagerTest() { ...@@ -466,7 +466,7 @@ export default function audioManagerTest() {
expect(false).assertTrue(); expect(false).assertTrue();
done(); done();
} else { } else {
console.log(`${TagFrmwk} getSystemVolumeInDb : error ${err.message} ${err.code}`); console.log(`${TagFrmwk}: getSystemVolumeInDb testcase FAIL! `);
expect(false).assertTrue(); expect(false).assertTrue();
done(); done();
} }
...@@ -494,7 +494,7 @@ export default function audioManagerTest() { ...@@ -494,7 +494,7 @@ export default function audioManagerTest() {
expect(false).assertTrue(); expect(false).assertTrue();
done(); done();
} else { } else {
console.log(`${TagFrmwk}:getSystemVolumeInDb error ${err.message} ${err.code}`); console.log(`${TagFrmwk}: getSystemVolumeInDb testcase FAIL! `);
expect(false).assertTrue(); expect(false).assertTrue();
done(); done();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册