提交 5db5aa77 编写于 作者: H hekun

fix the case

Signed-off-by: Nhekun <hekun18@huawei.com>
上级 2474ba8a
......@@ -1930,10 +1930,10 @@ describe('window_test', function () {
it('enumWindowStageEventType_Test_001', 0, async function (done) {
console.log('test the enum value of WindowStageEventType begin');
try {
expect(1).assertEqual(window.WindowStageEventType.FOREGROUND);
expect(1).assertEqual(window.WindowStageEventType.SHOWN);
expect(2).assertEqual(window.WindowStageEventType.ACTIVE);
expect(3).assertEqual(window.WindowStageEventType.INACTIVE);
expect(4).assertEqual(window.WindowStageEventType.BACKGROUND);
expect(4).assertEqual(window.WindowStageEventType.HIDDEN);
done();
} catch (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.
先完成此消息的编辑!
想要评论请 注册