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

!3392 窗口接口用例修改

Merge pull request !3392 from hk_js/OpenHarmony-3.1-Release
...@@ -122,7 +122,7 @@ describe('window_test', function () { ...@@ -122,7 +122,7 @@ describe('window_test', function () {
expect(!data.isKeepScreenOn).assertTrue(); expect(!data.isKeepScreenOn).assertTrue();
expect(!data.isTransparent).assertTrue(); expect(!data.isTransparent).assertTrue();
expect(data.brightness != null).assertTrue(); expect(data.brightness != null).assertTrue();
expect(data.dimBehindValue).assertEqual(undefined); expect(data.dimBehindValue).assertEqual(0);
expect(!data.isRoundCorner).assertTrue(); expect(!data.isRoundCorner).assertTrue();
expect(!data.isPrivacyMode).assertTrue(); expect(!data.isPrivacyMode).assertTrue();
done(); done();
...@@ -166,7 +166,7 @@ describe('window_test', function () { ...@@ -166,7 +166,7 @@ describe('window_test', function () {
expect(!data.isKeepScreenOn).assertTrue(); expect(!data.isKeepScreenOn).assertTrue();
expect(!data.isTransparent).assertTrue(); expect(!data.isTransparent).assertTrue();
expect(data.brightness != null).assertTrue(); expect(data.brightness != null).assertTrue();
expect(data.dimBehindValue).assertEqual(undefined); expect(data.dimBehindValue).assertEqual(0);
expect(!data.isRoundCorner).assertTrue(); expect(!data.isRoundCorner).assertTrue();
expect(!data.isPrivacyMode).assertTrue(); expect(!data.isPrivacyMode).assertTrue();
done(); done();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册