未验证 提交 6e34af09 编写于 作者: O openharmony_ci 提交者: Gitee

!9963 【回合monthly】修改buttonfontSizexts测试套规格

Merge pull request !9963 from 邹林肯/cherry-pick-1693382805
...@@ -154,7 +154,7 @@ export default function buttonJsunit() { ...@@ -154,7 +154,7 @@ export default function buttonJsunit() {
let strJson = getInspectorByKey('btok'); let strJson = getInspectorByKey('btok');
let obj = JSON.parse(strJson); let obj = JSON.parse(strJson);
console.info("[buttonJsunit_0700'] component obj is: " + obj.$attrs.fontSize + obj.$attrs.fontColor + obj.$attrs.fontFamily + obj.$attrs.fontStyle + obj.$attrs.fontWeight); console.info("[buttonJsunit_0700'] component obj is: " + obj.$attrs.fontSize + obj.$attrs.fontColor + obj.$attrs.fontFamily + obj.$attrs.fontStyle + obj.$attrs.fontWeight);
expect(obj.$attrs.fontSize).assertEqual('-200.00fp'); expect(obj.$attrs.fontSize).assertEqual('16.00fp');
expect(obj.$attrs.fontColor).assertEqual('#FFFFFFFF'); expect(obj.$attrs.fontColor).assertEqual('#FFFFFFFF');
expect(obj.$attrs.fontFamily).assertEqual('233'); expect(obj.$attrs.fontFamily).assertEqual('233');
expect(obj.$attrs.fontStyle).assertEqual('FontStyle.Normal'); expect(obj.$attrs.fontStyle).assertEqual('FontStyle.Normal');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册