提交 dd61eca2 编写于 作者: I inter515

修改colorModde枚举值'

Signed-off-by: Ninter515 <ry.renyi@huawei.com>
上级 45fd9b1b
......@@ -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();
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册