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

!7249 【窗口子系统】修改失败用例

Merge pull request !7249 from hekun/monthly_20221018
...@@ -1930,10 +1930,10 @@ describe('window_test', function () { ...@@ -1930,10 +1930,10 @@ describe('window_test', function () {
it('enumWindowStageEventType_Test_001', 0, async function (done) { it('enumWindowStageEventType_Test_001', 0, async function (done) {
console.log('test the enum value of WindowStageEventType begin'); console.log('test the enum value of WindowStageEventType begin');
try { try {
expect(1).assertEqual(window.WindowStageEventType.FOREGROUND); expect(1).assertEqual(window.WindowStageEventType.SHOWN);
expect(2).assertEqual(window.WindowStageEventType.ACTIVE); expect(2).assertEqual(window.WindowStageEventType.ACTIVE);
expect(3).assertEqual(window.WindowStageEventType.INACTIVE); expect(3).assertEqual(window.WindowStageEventType.INACTIVE);
expect(4).assertEqual(window.WindowStageEventType.BACKGROUND); expect(4).assertEqual(window.WindowStageEventType.HIDDEN);
done(); done();
} catch (err) { } catch (err) {
console.log('test enum value of windowStageEventType error ' + JSON.stringify(err)); console.log('test enum value of windowStageEventType error ' + JSON.stringify(err));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册