提交 6c1a43a2 编写于 作者: Y yaocui

update

Signed-off-by: Nyaocui <yaocui2@h-partners.com>
上级 eda319ee
......@@ -2083,5 +2083,25 @@ export default function displayAndWindowRefactorInterfaceTest(context, windowSta
}
;
})
/**
* @tc.number SUB_WMS_ENUM_WINDOWSTAGEEVENTTYPERENAME_JSAPI_001
* @tc.name Test enumWindowStageEventTypeReName_Test_001.
* @tc.desc To test the enum value of WindowStageEventType.
*/
it('enumWindowStageEventTypeReName_Test_001', 0, async function (done) {
console.info('test the enum value of WindowStageEventType begin');
try {
expect(1).assertEqual(ohosWindow.WindowStageEventType.SHOWN);
expect(2).assertEqual(ohosWindow.WindowStageEventType.ACTIVE);
expect(3).assertEqual(ohosWindow.WindowStageEventType.INACTIVE);
expect(4).assertEqual(ohosWindow.WindowStageEventType.HIDDEN);
done();
} catch (err) {
console.info('test enum value of windowStageEventType error ' + JSON.stringify(err));
expect().assertFail();
done();
}
})
})
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册