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

!6884 【ACE子系统】修复失败用例

Merge pull request !6884 from hekun/monthly_20221018
......@@ -110,7 +110,9 @@ export default function unitsModuleNameJsunit() {
console.info("[testunitsMinWidth0001] component constraintSize strJson:" + strJson);
let obj = JSON.parse(strJson);
expect(obj.$type).assertEqual('Text');
expect(obj.$attrs.constraintSize).assertEqual('{"minWidth":"200.00vp","minHeight":"0.00vp","maxWidth":"119846208990821053862485980936868943386622755140025217957449185986963312195176500631099345318391471397553524277795258607297703698567960268420438325781003880454605934667138922450849236563878474354509650486846713237047577973081895276546573889957650195146049445629577007136228474373133005395361920118602782998528.00vp","maxHeight":"0.00vp"}');
var subobj = JSON.parse(obj.$attrs.constraintSize);
console.info('[testunitsMinWidth0001] constraintSize value :' + subobj.minWidth);
expect(subobj.minWidth).assertEqual('200.00vp');
console.info("[testunitsMinWidth0001] constraintSize value :" + obj.$attrs.constraintSize);
done();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册