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

!5909 API modify, change default app enum

Merge pull request !5909 from SoftSquirrel/master
......@@ -68,28 +68,28 @@ export default function isDefaultApplicationTest() {
*/
it('applicationType_0100', 0, async function (done) {
expect(typeof (defaultAppMgr.ApplicationType.BROWSER)).assertEqual("string");
expect(defaultAppMgr.ApplicationType.BROWSER).assertEqual("BROWSER");
expect(defaultAppMgr.ApplicationType.BROWSER).assertEqual("Web Browser");
expect(typeof (defaultAppMgr.ApplicationType.IMAGE)).assertEqual("string");
expect(defaultAppMgr.ApplicationType.IMAGE).assertEqual("IMAGE");
expect(defaultAppMgr.ApplicationType.IMAGE).assertEqual("Image Gallery");
expect(typeof (defaultAppMgr.ApplicationType.AUDIO)).assertEqual("string");
expect(defaultAppMgr.ApplicationType.AUDIO).assertEqual("AUDIO");
expect(defaultAppMgr.ApplicationType.AUDIO).assertEqual("Audio Player");
expect(typeof (defaultAppMgr.ApplicationType.VIDEO)).assertEqual("string");
expect(defaultAppMgr.ApplicationType.VIDEO).assertEqual("VIDEO");
expect(defaultAppMgr.ApplicationType.VIDEO).assertEqual("Video Player");
expect(typeof (defaultAppMgr.ApplicationType.PDF)).assertEqual("string");
expect(defaultAppMgr.ApplicationType.PDF).assertEqual("PDF");
expect(defaultAppMgr.ApplicationType.PDF).assertEqual("PDF Viewer");
expect(typeof (defaultAppMgr.ApplicationType.WORD)).assertEqual("string");
expect(defaultAppMgr.ApplicationType.WORD).assertEqual("WORD");
expect(defaultAppMgr.ApplicationType.WORD).assertEqual("Word Viewer");
expect(typeof (defaultAppMgr.ApplicationType.EXCEL)).assertEqual("string");
expect(defaultAppMgr.ApplicationType.EXCEL).assertEqual("EXCEL");
expect(defaultAppMgr.ApplicationType.EXCEL).assertEqual("Excel Viewer");
expect(typeof (defaultAppMgr.ApplicationType.PPT)).assertEqual("string");
expect(defaultAppMgr.ApplicationType.PPT).assertEqual("PPT");
expect(defaultAppMgr.ApplicationType.PPT).assertEqual("PPT Viewer");
done()
});
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册