From f2884110df8ea5f166c88efe6d00804287623e03 Mon Sep 17 00:00:00 2001 From: zhangxinyue Date: Wed, 21 Sep 2022 14:38:15 +0800 Subject: [PATCH] bug fix Signed-off-by: zhangxinyue --- .../entry/src/main/ets/test/QrCodeJsunit.test.ets | 4 ++-- .../entry/src/main/ets/test/TextJsunit.test.ets | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arkui/ace_ets_component_three/entry/src/main/ets/test/QrCodeJsunit.test.ets b/arkui/ace_ets_component_three/entry/src/main/ets/test/QrCodeJsunit.test.ets index 336dd9093..ef88dc7c4 100644 --- a/arkui/ace_ets_component_three/entry/src/main/ets/test/QrCodeJsunit.test.ets +++ b/arkui/ace_ets_component_three/entry/src/main/ets/test/QrCodeJsunit.test.ets @@ -157,7 +157,7 @@ export default function qrCodeJsunit() { var strJson = getInspectorByKey('QrCodeColor'); var obj = JSON.parse(strJson); console.info("[test_qrCode_005] component obj is: " + JSON.stringify(obj)); - expect(obj.$attrs.color).assertEqual('#0000014C'); + expect(obj.$attrs.color).assertEqual('#FF00014C'); done(); }); @@ -209,7 +209,7 @@ export default function qrCodeJsunit() { var strJson = getInspectorByKey('QrCodeColor'); var obj = JSON.parse(strJson); console.info("[test_qrCode_007] component obj is: " + JSON.stringify(obj)); - expect(obj.$attrs.backgroundColor).assertEqual('#0000014D'); + expect(obj.$attrs.backgroundColor).assertEqual('#FF00014D'); done(); }); }) diff --git a/arkui/ace_ets_component_three/entry/src/main/ets/test/TextJsunit.test.ets b/arkui/ace_ets_component_three/entry/src/main/ets/test/TextJsunit.test.ets index 3cf16855f..e14423e4d 100644 --- a/arkui/ace_ets_component_three/entry/src/main/ets/test/TextJsunit.test.ets +++ b/arkui/ace_ets_component_three/entry/src/main/ets/test/TextJsunit.test.ets @@ -270,7 +270,7 @@ export default function textJsunit() { let strJsonNew = getInspectorByKey('text'); let objNew = JSON.parse(strJsonNew); console.info("testText_1200 component objNew is: " + JSON.stringify(objNew.$attrs.fontColor)); - expect(objNew.$attrs.fontColor).assertEqual('#00BC0229'); + expect(objNew.$attrs.fontColor).assertEqual('#FFBC0229'); console.info('testText_1200 END'); done(); }); -- GitLab