未验证 提交 9ced5659 编写于 作者: O openharmony_ci 提交者: Gitee

!8264 【ACE子系统】适配xts用例

Merge pull request !8264 from hekun/OpenHarmony-3.2-Release
......@@ -219,7 +219,7 @@ export default function textStyleJsunit() {
console.info("[testTextStyle008] component strJson:" + strJson);
let obj = JSON.parse(strJson);
console.info("[testTextStyle008] fontSize: " + obj.$attrs.fontSize);
expect(obj.$attrs.fontSize).assertEqual('-2147483648.00fp');
expect(obj.$attrs.fontSize).assertEqual('16.00fp');
done();
});
......
......@@ -296,7 +296,7 @@ export default function textJsunit() {
let strJsonNew = getInspectorByKey('text');
let objNew = JSON.parse(strJsonNew);
console.info("testText_1300 component objNew is: " + JSON.stringify(objNew.$attrs.fontSize));
expect(objNew.$attrs.fontSize).assertEqual('nanfp');
expect(objNew.$attrs.fontSize).assertEqual('16.00fp');
console.info('testText_1300 END');
done();
});
......@@ -322,7 +322,7 @@ export default function textJsunit() {
let strJsonNew = getInspectorByKey('text');
let objNew = JSON.parse(strJsonNew);
console.info("testText_1400 component objNew is: " + JSON.stringify(objNew.$attrs.fontSize));
expect(objNew.$attrs.fontSize).assertEqual('-20.00fp');
expect(objNew.$attrs.fontSize).assertEqual('16.00fp');
console.info('testText_1400 END');
done();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册