提交 97178655 编写于 作者: Z zhaoyuan17

bms xts update

Signed-off-by: Nzhaoyuan17 <zhaoyuan17@huawei.com>
上级 54116c10
...@@ -724,7 +724,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -724,7 +724,7 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.appInfo.iconId >= 0).assertTrue() expect(datainfo.appInfo.iconId >= 0).assertTrue()
expect(datainfo.appInfo.label).assertEqual("$string:app_name") expect(datainfo.appInfo.label).assertEqual("$string:app_name")
expect(datainfo.appInfo.labelId >= 0).assertTrue() expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(true) expect(datainfo.appInfo.systemApp).assertEqual(false)
expect(datainfo.appInfo.supportedModes).assertEqual(0) expect(datainfo.appInfo.supportedModes).assertEqual(0)
for (var j = 0; j < datainfo.appInfo.moduleInfos; j++) { for (var j = 0; j < datainfo.appInfo.moduleInfos; j++) {
expect(datainfo.applicationInfo.moduleInfos[j].moduleName).assertEqual("entry") expect(datainfo.applicationInfo.moduleInfos[j].moduleName).assertEqual("entry")
...@@ -1585,7 +1585,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -1585,7 +1585,7 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.appInfo.iconId >= 0).assertTrue() expect(datainfo.appInfo.iconId >= 0).assertTrue()
expect(datainfo.appInfo.label).assertEqual("$string:app_name") expect(datainfo.appInfo.label).assertEqual("$string:app_name")
expect(datainfo.appInfo.labelId >= 0).assertTrue() expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(true) expect(datainfo.appInfo.systemApp).assertEqual(false)
installData.uninstall(NAME2, { installData.uninstall(NAME2, {
param: { param: {
userId: 0, userId: 0,
...@@ -1633,7 +1633,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -1633,7 +1633,7 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.appInfo.iconId >= 0).assertTrue() expect(datainfo.appInfo.iconId >= 0).assertTrue()
expect(datainfo.appInfo.label).assertEqual("$string:app_name") expect(datainfo.appInfo.label).assertEqual("$string:app_name")
expect(datainfo.appInfo.labelId >= 0).assertTrue() expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(true) expect(datainfo.appInfo.systemApp).assertEqual(false)
installData.uninstall(NAME2, { installData.uninstall(NAME2, {
param: { param: {
userId: 0, userId: 0,
...@@ -2531,7 +2531,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -2531,7 +2531,7 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.appInfo.iconId >= 0).assertTrue() expect(datainfo.appInfo.iconId >= 0).assertTrue()
expect(datainfo.appInfo.label).assertEqual("$string:app_name") expect(datainfo.appInfo.label).assertEqual("$string:app_name")
expect(datainfo.appInfo.labelId >= 0).assertTrue() expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(true) expect(datainfo.appInfo.systemApp).assertEqual(false)
installData.uninstall(NAME3, { installData.uninstall(NAME3, {
param: { param: {
userId: 0, userId: 0,
...@@ -2590,7 +2590,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -2590,7 +2590,7 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.appInfo.iconId >= 0).assertTrue() expect(datainfo.appInfo.iconId >= 0).assertTrue()
expect(datainfo.appInfo.label).assertEqual("$string:app_name") expect(datainfo.appInfo.label).assertEqual("$string:app_name")
expect(datainfo.appInfo.labelId >= 0).assertTrue() expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(true) expect(datainfo.appInfo.systemApp).assertEqual(false)
installData.uninstall(NAME3, { installData.uninstall(NAME3, {
param: { param: {
userId: 0, userId: 0,
...@@ -2946,7 +2946,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -2946,7 +2946,7 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.appInfo.iconId >= 0).assertTrue() expect(datainfo.appInfo.iconId >= 0).assertTrue()
expect(datainfo.appInfo.label).assertEqual("$string:app_name") expect(datainfo.appInfo.label).assertEqual("$string:app_name")
expect(datainfo.appInfo.labelId >= 0).assertTrue() expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(true) expect(datainfo.appInfo.systemApp).assertEqual(false)
expect(datainfo.appInfo.supportedModes).assertEqual(0) expect(datainfo.appInfo.supportedModes).assertEqual(0)
for (var j = 0; j < datainfo.appInfo.moduleInfos; j++) { for (var j = 0; j < datainfo.appInfo.moduleInfos; j++) {
expect(datainfo.applicationInfo.moduleInfos[j].moduleName).assertEqual("entry") expect(datainfo.applicationInfo.moduleInfos[j].moduleName).assertEqual("entry")
...@@ -3023,7 +3023,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -3023,7 +3023,7 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.appInfo.iconId >= 0).assertTrue() expect(datainfo.appInfo.iconId >= 0).assertTrue()
expect(datainfo.appInfo.label).assertEqual("$string:app_name") expect(datainfo.appInfo.label).assertEqual("$string:app_name")
expect(datainfo.appInfo.labelId >= 0).assertTrue() expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(true) expect(datainfo.appInfo.systemApp).assertEqual(false)
expect(datainfo.appInfo.supportedModes).assertEqual(0) expect(datainfo.appInfo.supportedModes).assertEqual(0)
for (var j = 0; j < datainfo.appInfo.moduleInfos; j++) { for (var j = 0; j < datainfo.appInfo.moduleInfos; j++) {
expect(datainfo.applicationInfo.moduleInfos[j].moduleName).assertEqual("entry") expect(datainfo.applicationInfo.moduleInfos[j].moduleName).assertEqual("entry")
...@@ -3086,7 +3086,7 @@ describe('ActsBundleManagerTest', function () { ...@@ -3086,7 +3086,7 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.appInfo.iconId >= 0).assertTrue() expect(datainfo.appInfo.iconId >= 0).assertTrue()
expect(datainfo.appInfo.label).assertEqual("$string:app_name") expect(datainfo.appInfo.label).assertEqual("$string:app_name")
expect(datainfo.appInfo.labelId >= 0).assertTrue() expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(true) expect(datainfo.appInfo.systemApp).assertEqual(false)
expect(datainfo.appInfo.supportedModes).assertEqual(0) expect(datainfo.appInfo.supportedModes).assertEqual(0)
for (var j = 0; j < datainfo.appInfo.moduleInfos; j++) { for (var j = 0; j < datainfo.appInfo.moduleInfos; j++) {
expect(datainfo.applicationInfo.moduleInfos[j].moduleName).assertEqual("entry") expect(datainfo.applicationInfo.moduleInfos[j].moduleName).assertEqual("entry")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册