提交 24857b36 编写于 作者: I inter515

增加errorCode断言

Signed-off-by: Ninter515 <ry.renyi@huawei.com>
上级 dc33f114
...@@ -1366,6 +1366,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -1366,6 +1366,7 @@ describe('ActsBundleManagerTest', function () {
expect(demo.InstallErrorCode.STATUS_UNINSTALL_FAILURE_CONFLICT).assertEqual(10); expect(demo.InstallErrorCode.STATUS_UNINSTALL_FAILURE_CONFLICT).assertEqual(10);
expect(demo.InstallErrorCode.STATUS_INSTALL_FAILURE_DOWNLOAD_TIMEOUT).assertEqual(11); expect(demo.InstallErrorCode.STATUS_INSTALL_FAILURE_DOWNLOAD_TIMEOUT).assertEqual(11);
expect(demo.InstallErrorCode.STATUS_INSTALL_FAILURE_DOWNLOAD_FAILED).assertEqual(12); expect(demo.InstallErrorCode.STATUS_INSTALL_FAILURE_DOWNLOAD_FAILED).assertEqual(12);
expect(demo.InstallErrorCode.STATUS_RECOVER_FAILURE_INVALID ).assertEqual(13);
expect(demo.InstallErrorCode.STATUS_ABILITY_NOT_FOUND).assertEqual(64); expect(demo.InstallErrorCode.STATUS_ABILITY_NOT_FOUND).assertEqual(64);
expect(demo.InstallErrorCode.STATUS_BMS_SERVICE_ERROR).assertEqual(65); expect(demo.InstallErrorCode.STATUS_BMS_SERVICE_ERROR).assertEqual(65);
expect(demo.InstallErrorCode.STATUS_FAILED_NO_SPACE_LEFT).assertEqual(66); expect(demo.InstallErrorCode.STATUS_FAILED_NO_SPACE_LEFT).assertEqual(66);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册