From dd61eca206c20120ce69af133deea872caeebfbf Mon Sep 17 00:00:00 2001 From: inter515 Date: Sat, 18 Jun 2022 18:05:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9colorModde=E6=9E=9A=E4=B8=BE?= =?UTF-8?q?=E5=80=BC'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: inter515 --- .../entry/src/main/js/test/ActsBmsHapModuleTest.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js index 712400f70..804c65508 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js @@ -57,7 +57,7 @@ describe('ActsBmsHapModuleTest', function () { expect(hapModuleInfo.extensionAbilityInfo.length).assertEqual(0); expect(hapModuleInfo.metadata.length).assertEqual(0); expect(hapModuleInfo.installationFree).assertEqual(false); - expect(hapModuleInfo.colorMode).assertEqual(-1); + expect(hapModuleInfo.colorMode).assertEqual(bundle.ColorMode.AUTO_MODE); done(); } } @@ -122,7 +122,7 @@ describe('ActsBmsHapModuleTest', function () { expect(hapModuleInfo.extensionAbilityInfo.length).assertEqual(0); expect(hapModuleInfo.metadata.length).assertEqual(0); expect(hapModuleInfo.installationFree).assertEqual(false); - expect(hapModuleInfo.colorMode).assertEqual(0); + expect(hapModuleInfo.colorMode).assertEqual(bundle.ColorMode.DARK_MODE); done(); } }); @@ -158,7 +158,7 @@ describe('ActsBmsHapModuleTest', function () { expect(hapModuleInfo.extensionAbilityInfo.length).assertEqual(0); expect(hapModuleInfo.metadata.length).assertEqual(0); expect(hapModuleInfo.installationFree).assertEqual(false); - expect(hapModuleInfo.colorMode).assertEqual(1); + expect(hapModuleInfo.colorMode).assertEqual(bundle.ColorMode.LIGHT_MODE); done(); } }); -- GitLab