提交 4a2f665b 编写于 作者: O openharmony_ci 提交者: Gitee

!1388 Modify BMS xts test code

Merge pull request !1388 from blackleon/master_1216_02
...@@ -499,7 +499,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -499,7 +499,7 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.iconId >= 0).assertTrue() expect(datainfo.iconId >= 0).assertTrue()
expect(datainfo.labelId >= 0).assertTrue() expect(datainfo.labelId >= 0).assertTrue()
expect(datainfo.supportedModes).assertEqual(0) expect(datainfo.supportedModes).assertEqual(0)
expect(datainfo.process).assertEqual("") expect(datainfo.process).assertEqual(NAME1)
expect(datainfo.enabled).assertEqual(true) expect(datainfo.enabled).assertEqual(true)
expect(datainfo.flags).assertEqual(0) expect(datainfo.flags).assertEqual(0)
expect(datainfo.moduleSourceDirs.length).assertLarger(0) expect(datainfo.moduleSourceDirs.length).assertLarger(0)
...@@ -1460,7 +1460,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -1460,7 +1460,7 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.iconId >= 0).assertTrue() expect(datainfo.iconId >= 0).assertTrue()
expect(datainfo.labelId >= 0).assertTrue() expect(datainfo.labelId >= 0).assertTrue()
expect(datainfo.supportedModes).assertEqual(0) expect(datainfo.supportedModes).assertEqual(0)
expect(datainfo.process).assertEqual("") expect(datainfo.process).assertEqual(NAME2)
expect(datainfo.enabled).assertEqual(true) expect(datainfo.enabled).assertEqual(true)
expect(datainfo.flags).assertEqual(0) expect(datainfo.flags).assertEqual(0)
expect(datainfo.moduleSourceDirs.length).assertLarger(0) expect(datainfo.moduleSourceDirs.length).assertLarger(0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册