提交 95a33e95 编写于 作者: Z zhaoyuan17

Modify BMS xts test code

Signed-off-by: Nzhaoyuan17 <zhaoyuan17@huawei.com>
上级 075f1601
...@@ -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.
先完成此消息的编辑!
想要评论请 注册