未验证 提交 07c8862f 编写于 作者: O openharmony_ci 提交者: Gitee

!6255 【ACE子系统】适配开发侧的修改&修复aplilack编译和部分失败用例问题

Merge pull request !6255 from hekun/monthly_20221018
......@@ -283,7 +283,8 @@ export default function progressJsunit() {
let strJson = getInspectorByKey('LPValue');
let obj = JSON.parse(strJson);
console.info("testProgress_1000 component obj is: " + JSON.stringify(obj));
expect(obj.$attrs.value).assertEqual("-5.000000");
// 非法入参默认初始值
expect(obj.$attrs.value).assertEqual("0.000000");
console.info('testProgress_1000 END');
done();
});
......@@ -313,7 +314,8 @@ export default function progressJsunit() {
let strJson = getInspectorByKey('LPValue');
let obj = JSON.parse(strJson);
console.info("testProgress_1100 component obj is: " + JSON.stringify(obj));
expect(obj.$attrs.value).assertEqual("121212121.000000");
// 非法入参默认初始值
expect(obj.$attrs.value).assertEqual("100.000000");
console.info('testProgress_1100 END');
done();
});
......
......@@ -183,7 +183,8 @@ export default function qrCodeJsunit() {
var strJson = getInspectorByKey('QrCodeColor');
var obj = JSON.parse(strJson);
console.info("[test_qrCode_006] component obj is: " + JSON.stringify(obj));
expect(obj.$attrs.backgroundColor).assertEqual('#FF000000');
// 非法入参默认初始值
expect(obj.$attrs.backgroundColor).assertEqual('#FFFFFFFF');
done();
});
......
......@@ -153,7 +153,8 @@ export default function ToggleJsunit() {
let strJsonNew = getInspectorByKey('toggle');
let objNew = JSON.parse(strJsonNew);
console.info("testToggle06 component objNew is: " + JSON.stringify(objNew));
expect(objNew.$attrs.selectedColor).assertEqual('#FF000000');
// 非法入参默认初始值
expect(objNew.$attrs.selectedColor).assertEqual('#33007DFF');
console.info('testToggle06 END');
done();
});
......@@ -179,7 +180,7 @@ export default function ToggleJsunit() {
let strJsonNew = getInspectorByKey('toggle');
let objNew = JSON.parse(strJsonNew);
console.info("testToggle07 component objNew is: " + JSON.stringify(objNew));
expect(objNew.$attrs.selectedColor).assertEqual('#FF000000');
expect(objNew.$attrs.selectedColor).assertEqual('#33007DFF');
console.info('testToggle07 END');
done();
});
......
......@@ -101,7 +101,8 @@ export default function transitionJsunit() {
let strJsonNew = getInspectorByKey('button');
let objNew = JSON.parse(strJsonNew);
console.info("transitionTest_0300 component objNew is: " + JSON.stringify(objNew));
expect(objNew.$attrs.opacity).assertEqual(2);
//非法入参默认初始值
expect(objNew.$attrs.opacity).assertEqual(1);
console.info('transitionTest_0300 END');
done();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册