提交 a6045071 编写于 作者: S SoftSquirrel

Issue:#I5VN63

Description: API modify, add enum
Sig: SIG_ApplicaitonFramework
Feature or Bugfix: Feature
Binary Source: No
Signed-off-by: NSoftSquirrel <xuhao47@huawei.com>
上级 a12aeebf
...@@ -68,28 +68,28 @@ export default function isDefaultApplicationTest() { ...@@ -68,28 +68,28 @@ export default function isDefaultApplicationTest() {
*/ */
it('applicationType_0100', 0, async function (done) { it('applicationType_0100', 0, async function (done) {
expect(typeof (defaultAppMgr.ApplicationType.BROWSER)).assertEqual("string"); 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(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(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(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(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(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(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(typeof (defaultAppMgr.ApplicationType.PPT)).assertEqual("string");
expect(defaultAppMgr.ApplicationType.PPT).assertEqual("PPT"); expect(defaultAppMgr.ApplicationType.PPT).assertEqual("PPT Viewer");
done() done()
}); });
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册