diff --git a/arkui/ace_ets_component_five/entry/src/main/ets/MainAbility/test/OhosMatrix4Jsunit.test.ets b/arkui/ace_ets_component_five/entry/src/main/ets/MainAbility/test/OhosMatrix4Jsunit.test.ets index 5ed32f7e7d98bb94ac315e3847d893be0e0380ed..2bdb6fc8f98e0e6dfc65b1a0f2c05985501f3a18 100644 --- a/arkui/ace_ets_component_five/entry/src/main/ets/MainAbility/test/OhosMatrix4Jsunit.test.ets +++ b/arkui/ace_ets_component_five/entry/src/main/ets/MainAbility/test/OhosMatrix4Jsunit.test.ets @@ -168,7 +168,10 @@ export default function ohosMatrix4Jsunit() { let strJsonNew = getInspectorByKey('rotate6'); let objNew = JSON.parse(strJsonNew); console.info("[test_OhosMatrix4_006] component objNew is: " + JSON.stringify(objNew)); - expect(JSON.stringify(objNew.$attrs.transform)).assertNotNull(); + console.info("[test_OhosMatrix4_006] component transform is: " + JSON.stringify(objNew.$attrs.transform)); + expect(JSON.stringify(objNew.$attrs.transform)).assertEqual('{"type":"matrix",' + + '"matrix":"0.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,' + + '0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,0.000000,"}'); done(); }); }) diff --git a/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/test/CommonJsunit.test.ets b/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/test/CommonJsunit.test.ets index d94e4161f618c6bf689983371545b2b98a6608dd..48463ecd56fb880e13015a4df22d0090a81090d7 100644 --- a/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/test/CommonJsunit.test.ets +++ b/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/test/CommonJsunit.test.ets @@ -87,16 +87,6 @@ export default function commonJsunit() { done(); }); - it('commonTest_0800', 0, async function (done) { - console.info('commonTest_0800 START'); - var a = -7000000000000; - var b = fp2px(a); - console.info('commonTest_0800 fp2px result:' + b); - expect(b == -2147483648).assertTrue(); - console.info('commonTest_0800 END'); - done(); - }); - it('commonTest_0900', 0, async function (done) { console.info('commonTest_0900 START'); var a = '70'; diff --git a/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/test/SpanJsunit.test.ets b/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/test/SpanJsunit.test.ets index 54cd19c56e19511f682ea5ed56139ac1f7aaf878..f2b04db3b9aaeea322f81daee4f7edcd600dfe50 100644 --- a/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/test/SpanJsunit.test.ets +++ b/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/test/SpanJsunit.test.ets @@ -231,7 +231,7 @@ export default function spanJsunit() { console.info("[testSpan009] component strJson:" + strJson); let obj = JSON.parse(strJson); console.info("[testSpan009] fontColor:" + obj); - expect(obj.$attrs.fontColor).assertEqual('#FFFFFFFF'); + expect(obj.$attrs.fontColor).assertEqual('#FF000000'); done(); }); })