提交 298ef430 编写于 作者: O openharmony_ci 提交者: Gitee

!1053 Bms xts update

Merge pull request !1053 from blackleon/master_1108
...@@ -83,11 +83,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -83,11 +83,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.name).assertEqual(NAME1) expect(datainfo.appInfo.name).assertEqual(NAME1)
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) 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++) {
...@@ -138,11 +138,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -138,11 +138,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.name).assertEqual(NAME1) expect(datainfo.appInfo.name).assertEqual(NAME1)
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) 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++) {
...@@ -194,11 +194,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -194,11 +194,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.name).assertEqual(NAME1) expect(datainfo.appInfo.name).assertEqual(NAME1)
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) expect(datainfo.appInfo.systemApp).assertEqual(false)
expect(datainfo.appInfo.supportedModes).assertEqual(0) expect(datainfo.appInfo.supportedModes).assertEqual(0)
expect(datainfo.appInfo.enabled).assertEqual(true) expect(datainfo.appInfo.enabled).assertEqual(true)
...@@ -246,11 +246,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -246,11 +246,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.name).assertEqual(NAME1) expect(datainfo.appInfo.name).assertEqual(NAME1)
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) 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++) {
...@@ -465,9 +465,9 @@ describe('ActsBundleManagerTest', function () { ...@@ -465,9 +465,9 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.label).assertEqual("$string:app_name") expect(datainfo.label).assertEqual("$string:app_name")
expect(datainfo.systemApp).assertEqual(false) expect(datainfo.systemApp).assertEqual(false)
expect(datainfo.descriptionId).assertEqual(0) expect(datainfo.descriptionId >= 0).assertTrue()
expect(datainfo.iconId).assertEqual(0) expect(datainfo.iconId >= 0).assertTrue()
expect(datainfo.labelId).assertEqual(0) expect(datainfo.labelId >= 0).assertTrue()
expect(datainfo.supportedModes).assertEqual(0) expect(datainfo.supportedModes).assertEqual(0)
expect(datainfo.process).assertEqual("") expect(datainfo.process).assertEqual("")
expect(datainfo.enabled).assertEqual(true) expect(datainfo.enabled).assertEqual(true)
...@@ -567,11 +567,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -567,11 +567,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.name).assertEqual(NAME1) expect(datainfo.name).assertEqual(NAME1)
expect(datainfo.description).assertEqual("$string:mainability_description") expect(datainfo.description).assertEqual("$string:mainability_description")
expect(datainfo.descriptionId).assertEqual(0) expect(datainfo.descriptionId >= 0).assertTrue()
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.iconId).assertEqual(0) expect(datainfo.iconId >= 0).assertTrue()
expect(datainfo.label).assertEqual("$string:app_name") expect(datainfo.label).assertEqual("$string:app_name")
expect(datainfo.labelId).assertEqual(0) expect(datainfo.labelId >= 0).assertTrue()
expect(datainfo.systemApp).assertEqual(false) expect(datainfo.systemApp).assertEqual(false)
expect(datainfo.supportedModes).assertEqual(0) expect(datainfo.supportedModes).assertEqual(0)
expect(datainfo.enabled).assertEqual(true) expect(datainfo.enabled).assertEqual(true)
...@@ -622,11 +622,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -622,11 +622,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.name).assertEqual(NAME1) expect(datainfo.name).assertEqual(NAME1)
expect(datainfo.description).assertEqual("$string:mainability_description") expect(datainfo.description).assertEqual("$string:mainability_description")
expect(datainfo.descriptionId).assertEqual(0) expect(datainfo.descriptionId >= 0).assertTrue()
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.iconId).assertEqual(0) expect(datainfo.iconId >= 0).assertTrue()
expect(datainfo.label).assertEqual("$string:app_name") expect(datainfo.label).assertEqual("$string:app_name")
expect(datainfo.labelId).assertEqual(0) expect(datainfo.labelId >= 0).assertTrue()
expect(datainfo.systemApp).assertEqual(false) expect(datainfo.systemApp).assertEqual(false)
expect(datainfo.supportedModes).assertEqual(0) expect(datainfo.supportedModes).assertEqual(0)
installData.uninstall(NAME1, { installData.uninstall(NAME1, {
...@@ -670,11 +670,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -670,11 +670,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.name).assertEqual(NAME1) expect(datainfo.name).assertEqual(NAME1)
expect(datainfo.description).assertEqual("$string:mainability_description") expect(datainfo.description).assertEqual("$string:mainability_description")
expect(datainfo.descriptionId).assertEqual(0) expect(datainfo.descriptionId >= 0).assertTrue()
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.iconId).assertEqual(0) expect(datainfo.iconId >= 0).assertTrue()
expect(datainfo.label).assertEqual("$string:app_name") expect(datainfo.label).assertEqual("$string:app_name")
expect(datainfo.labelId).assertEqual(0) expect(datainfo.labelId >= 0).assertTrue()
expect(datainfo.systemApp).assertEqual(false) expect(datainfo.systemApp).assertEqual(false)
expect(datainfo.supportedModes).assertEqual(0) expect(datainfo.supportedModes).assertEqual(0)
installData.uninstall(NAME1, { installData.uninstall(NAME1, {
...@@ -719,11 +719,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -719,11 +719,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.name).assertEqual(NAME1) expect(datainfo.appInfo.name).assertEqual(NAME1)
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) 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++) {
...@@ -887,11 +887,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -887,11 +887,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.bundleName).assertEqual(NAME2) expect(datainfo.bundleName).assertEqual(NAME2)
expect(datainfo.applicationInfo.name).assertEqual(NAME2) expect(datainfo.applicationInfo.name).assertEqual(NAME2)
expect(datainfo.applicationInfo.description).assertEqual("$string:mainability_description") expect(datainfo.applicationInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.applicationInfo.descriptionId).assertEqual(0) expect(datainfo.applicationInfo.descriptionId >= 0).assertTrue()
expect(datainfo.applicationInfo.icon).assertEqual("$media:icon") expect(datainfo.applicationInfo.icon).assertEqual("$media:icon")
expect(datainfo.applicationInfo.iconId).assertEqual(0) expect(datainfo.applicationInfo.iconId >= 0).assertTrue()
expect(datainfo.applicationInfo.label).assertEqual("$string:app_name") expect(datainfo.applicationInfo.label).assertEqual("$string:app_name")
expect(datainfo.applicationInfo.labelId).assertEqual(0) expect(datainfo.applicationInfo.labelId >= 0).assertTrue()
expect(datainfo.applicationInfo.systemApp).assertEqual(false) expect(datainfo.applicationInfo.systemApp).assertEqual(false)
expect(datainfo.applicationInfo.supportedModes).assertEqual(0) expect(datainfo.applicationInfo.supportedModes).assertEqual(0)
expect(datainfo.applicationInfo.enabled).assertEqual(true) expect(datainfo.applicationInfo.enabled).assertEqual(true)
...@@ -991,11 +991,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -991,11 +991,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.name).assertEqual(NAME2) expect(datainfo.appInfo.name).assertEqual(NAME2)
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) expect(datainfo.appInfo.systemApp).assertEqual(false)
installData.uninstall(NAME2, { installData.uninstall(NAME2, {
param: { param: {
...@@ -1039,11 +1039,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -1039,11 +1039,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.name).assertEqual(NAME2) expect(datainfo.appInfo.name).assertEqual(NAME2)
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) expect(datainfo.appInfo.systemApp).assertEqual(false)
installData.uninstall(NAME2, { installData.uninstall(NAME2, {
param: { param: {
...@@ -1378,9 +1378,9 @@ describe('ActsBundleManagerTest', function () { ...@@ -1378,9 +1378,9 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.label).assertEqual("$string:app_name") expect(datainfo.label).assertEqual("$string:app_name")
expect(datainfo.systemApp).assertEqual(false) expect(datainfo.systemApp).assertEqual(false)
expect(datainfo.descriptionId).assertEqual(0) expect(datainfo.descriptionId >= 0).assertTrue()
expect(datainfo.iconId).assertEqual(0) expect(datainfo.iconId >= 0).assertTrue()
expect(datainfo.labelId).assertEqual(0) expect(datainfo.labelId >= 0).assertTrue()
expect(datainfo.supportedModes).assertEqual(0) expect(datainfo.supportedModes).assertEqual(0)
expect(datainfo.process).assertEqual("") expect(datainfo.process).assertEqual("")
expect(datainfo.enabled).assertEqual(true) expect(datainfo.enabled).assertEqual(true)
...@@ -1532,11 +1532,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -1532,11 +1532,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.name).assertEqual(NAME2) expect(datainfo.name).assertEqual(NAME2)
expect(datainfo.description).assertEqual("$string:mainability_description") expect(datainfo.description).assertEqual("$string:mainability_description")
expect(datainfo.descriptionId).assertEqual(0) expect(datainfo.descriptionId >= 0).assertTrue()
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.iconId).assertEqual(0) expect(datainfo.iconId >= 0).assertTrue()
expect(datainfo.label).assertEqual("$string:app_name") expect(datainfo.label).assertEqual("$string:app_name")
expect(datainfo.labelId).assertEqual(0) expect(datainfo.labelId >= 0).assertTrue()
expect(datainfo.systemApp).assertEqual(false) expect(datainfo.systemApp).assertEqual(false)
expect(datainfo.supportedModes).assertEqual(0) expect(datainfo.supportedModes).assertEqual(0)
installData.uninstall(NAME2, { installData.uninstall(NAME2, {
...@@ -1580,11 +1580,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -1580,11 +1580,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.versionName).assertLarger(0) expect(datainfo.versionName).assertLarger(0)
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) expect(datainfo.appInfo.systemApp).assertEqual(false)
installData.uninstall(NAME2, { installData.uninstall(NAME2, {
param: { param: {
...@@ -1628,11 +1628,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -1628,11 +1628,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.versionName).assertLarger(0) expect(datainfo.versionName).assertLarger(0)
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) expect(datainfo.appInfo.systemApp).assertEqual(false)
installData.uninstall(NAME2, { installData.uninstall(NAME2, {
param: { param: {
...@@ -1691,11 +1691,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -1691,11 +1691,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.bundleName).assertEqual(NAME2) expect(datainfo.bundleName).assertEqual(NAME2)
expect(datainfo.applicationInfo.name).assertEqual(NAME2) expect(datainfo.applicationInfo.name).assertEqual(NAME2)
expect(datainfo.applicationInfo.description).assertEqual("$string:mainability_description") expect(datainfo.applicationInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.applicationInfo.descriptionId).assertEqual(0) expect(datainfo.applicationInfo.descriptionId >= 0).assertTrue()
expect(datainfo.applicationInfo.icon).assertEqual("$media:icon") expect(datainfo.applicationInfo.icon).assertEqual("$media:icon")
expect(datainfo.applicationInfo.iconId).assertEqual(0) expect(datainfo.applicationInfo.iconId >= 0).assertTrue()
expect(datainfo.applicationInfo.label).assertEqual("$string:app_name") expect(datainfo.applicationInfo.label).assertEqual("$string:app_name")
expect(datainfo.applicationInfo.labelId).assertEqual(0) expect(datainfo.applicationInfo.labelId >= 0).assertTrue()
expect(datainfo.applicationInfo.systemApp).assertEqual(false) expect(datainfo.applicationInfo.systemApp).assertEqual(false)
expect(datainfo.applicationInfo.supportedModes).assertEqual(0) expect(datainfo.applicationInfo.supportedModes).assertEqual(0)
expect(datainfo.applicationInfo.enabled).assertEqual(true) expect(datainfo.applicationInfo.enabled).assertEqual(true)
...@@ -1761,11 +1761,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -1761,11 +1761,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.bundleName).assertEqual(NAME2) expect(datainfo.bundleName).assertEqual(NAME2)
expect(datainfo.applicationInfo.name).assertEqual(NAME2) expect(datainfo.applicationInfo.name).assertEqual(NAME2)
expect(datainfo.applicationInfo.description).assertEqual("$string:mainability_description") expect(datainfo.applicationInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.applicationInfo.descriptionId).assertEqual(0) expect(datainfo.applicationInfo.descriptionId >= 0).assertTrue()
expect(datainfo.applicationInfo.icon).assertEqual("$media:icon") expect(datainfo.applicationInfo.icon).assertEqual("$media:icon")
expect(datainfo.applicationInfo.iconId).assertEqual(0) expect(datainfo.applicationInfo.iconId >= 0).assertTrue()
expect(datainfo.applicationInfo.label).assertEqual("$string:app_name") expect(datainfo.applicationInfo.label).assertEqual("$string:app_name")
expect(datainfo.applicationInfo.labelId).assertEqual(0) expect(datainfo.applicationInfo.labelId >= 0).assertTrue()
expect(datainfo.applicationInfo.systemApp).assertEqual(false) expect(datainfo.applicationInfo.systemApp).assertEqual(false)
expect(datainfo.applicationInfo.supportedModes).assertEqual(0) expect(datainfo.applicationInfo.supportedModes).assertEqual(0)
expect(datainfo.applicationInfo.enabled).assertEqual(true) expect(datainfo.applicationInfo.enabled).assertEqual(true)
...@@ -1816,11 +1816,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -1816,11 +1816,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.name).assertEqual(NAME3) expect(datainfo.appInfo.name).assertEqual(NAME3)
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) expect(datainfo.appInfo.systemApp).assertEqual(false)
installData.uninstall(NAME3, { installData.uninstall(NAME3, {
param: { param: {
...@@ -1876,11 +1876,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -1876,11 +1876,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.name).assertEqual(NAME3) expect(datainfo.appInfo.name).assertEqual(NAME3)
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) expect(datainfo.appInfo.systemApp).assertEqual(false)
} }
installData.uninstall(NAME3, { installData.uninstall(NAME3, {
...@@ -2409,11 +2409,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -2409,11 +2409,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.name).assertEqual(NAME3) expect(datainfo.name).assertEqual(NAME3)
expect(datainfo.description).assertEqual("$string:mainability_description") expect(datainfo.description).assertEqual("$string:mainability_description")
expect(datainfo.descriptionId).assertEqual(0) expect(datainfo.descriptionId >= 0).assertTrue()
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.iconId).assertEqual(0) expect(datainfo.iconId >= 0).assertTrue()
expect(datainfo.label).assertEqual("$string:app_name") expect(datainfo.label).assertEqual("$string:app_name")
expect(datainfo.labelId).assertEqual(0) expect(datainfo.labelId >= 0).assertTrue()
expect(datainfo.systemApp).assertEqual(false) expect(datainfo.systemApp).assertEqual(false)
expect(datainfo.supportedModes).assertEqual(0) expect(datainfo.supportedModes).assertEqual(0)
installData.uninstall(NAME3, { installData.uninstall(NAME3, {
...@@ -2467,11 +2467,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -2467,11 +2467,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.name).assertEqual(NAME3) expect(datainfo.name).assertEqual(NAME3)
expect(datainfo.description).assertEqual("$string:mainability_description") expect(datainfo.description).assertEqual("$string:mainability_description")
expect(datainfo.descriptionId).assertEqual(0) expect(datainfo.descriptionId >= 0).assertTrue()
expect(datainfo.icon).assertEqual("$media:icon") expect(datainfo.icon).assertEqual("$media:icon")
expect(datainfo.iconId).assertEqual(0) expect(datainfo.iconId >= 0).assertTrue()
expect(datainfo.label).assertEqual("$string:app_name") expect(datainfo.label).assertEqual("$string:app_name")
expect(datainfo.labelId).assertEqual(0) expect(datainfo.labelId >= 0).assertTrue()
expect(datainfo.systemApp).assertEqual(false) expect(datainfo.systemApp).assertEqual(false)
expect(datainfo.supportedModes).assertEqual(0) expect(datainfo.supportedModes).assertEqual(0)
installData.uninstall(NAME3, { installData.uninstall(NAME3, {
...@@ -2526,11 +2526,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -2526,11 +2526,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.versionName).assertLarger(0) expect(datainfo.versionName).assertLarger(0)
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) expect(datainfo.appInfo.systemApp).assertEqual(false)
installData.uninstall(NAME3, { installData.uninstall(NAME3, {
param: { param: {
...@@ -2585,11 +2585,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -2585,11 +2585,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.versionName).assertLarger(0) expect(datainfo.versionName).assertLarger(0)
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) expect(datainfo.appInfo.systemApp).assertEqual(false)
installData.uninstall(NAME3, { installData.uninstall(NAME3, {
param: { param: {
...@@ -2659,11 +2659,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -2659,11 +2659,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.bundleName).assertEqual(NAME3) expect(datainfo.bundleName).assertEqual(NAME3)
expect(datainfo.applicationInfo.name).assertEqual(NAME3) expect(datainfo.applicationInfo.name).assertEqual(NAME3)
expect(datainfo.applicationInfo.description).assertEqual("$string:mainability_description") expect(datainfo.applicationInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.applicationInfo.descriptionId).assertEqual(0) expect(datainfo.applicationInfo.descriptionId >= 0).assertTrue()
expect(datainfo.applicationInfo.icon).assertEqual("$media:icon") expect(datainfo.applicationInfo.icon).assertEqual("$media:icon")
expect(datainfo.applicationInfo.iconId).assertEqual(0) expect(datainfo.applicationInfo.iconId >= 0).assertTrue()
expect(datainfo.applicationInfo.label).assertEqual("$string:app_name") expect(datainfo.applicationInfo.label).assertEqual("$string:app_name")
expect(datainfo.applicationInfo.labelId).assertEqual(0) expect(datainfo.applicationInfo.labelId >= 0).assertTrue()
expect(datainfo.applicationInfo.systemApp).assertEqual(false) expect(datainfo.applicationInfo.systemApp).assertEqual(false)
expect(datainfo.applicationInfo.supportedModes).assertEqual(0) expect(datainfo.applicationInfo.supportedModes).assertEqual(0)
expect(datainfo.applicationInfo.enabled).assertEqual(true) expect(datainfo.applicationInfo.enabled).assertEqual(true)
...@@ -2739,11 +2739,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -2739,11 +2739,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.bundleName).assertEqual(NAME3) expect(datainfo.bundleName).assertEqual(NAME3)
expect(datainfo.applicationInfo.name).assertEqual(NAME3) expect(datainfo.applicationInfo.name).assertEqual(NAME3)
expect(datainfo.applicationInfo.description).assertEqual("$string:mainability_description") expect(datainfo.applicationInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.applicationInfo.descriptionId).assertEqual(0) expect(datainfo.applicationInfo.descriptionId >= 0).assertTrue()
expect(datainfo.applicationInfo.icon).assertEqual("$media:icon") expect(datainfo.applicationInfo.icon).assertEqual("$media:icon")
expect(datainfo.applicationInfo.iconId).assertEqual(0) expect(datainfo.applicationInfo.iconId >= 0).assertTrue()
expect(datainfo.applicationInfo.label).assertEqual("$string:app_name") expect(datainfo.applicationInfo.label).assertEqual("$string:app_name")
expect(datainfo.applicationInfo.labelId).assertEqual(0) expect(datainfo.applicationInfo.labelId >= 0).assertTrue()
expect(datainfo.applicationInfo.systemApp).assertEqual(false) expect(datainfo.applicationInfo.systemApp).assertEqual(false)
expect(datainfo.applicationInfo.supportedModes).assertEqual(0) expect(datainfo.applicationInfo.supportedModes).assertEqual(0)
expect(datainfo.applicationInfo.enabled).assertEqual(true) expect(datainfo.applicationInfo.enabled).assertEqual(true)
...@@ -2941,11 +2941,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -2941,11 +2941,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.name).assertEqual(NAME1) expect(datainfo.appInfo.name).assertEqual(NAME1)
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) 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++) {
...@@ -3018,11 +3018,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -3018,11 +3018,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.name).assertEqual(NAME1) expect(datainfo.appInfo.name).assertEqual(NAME1)
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) 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++) {
...@@ -3081,11 +3081,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -3081,11 +3081,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.entryModuleName).assertEqual("entry") expect(datainfo.entryModuleName).assertEqual("entry")
expect(datainfo.appInfo.name).assertEqual(NAME1) expect(datainfo.appInfo.name).assertEqual(NAME1)
expect(datainfo.appInfo.description).assertEqual("$string:mainability_description") expect(datainfo.appInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.appInfo.descriptionId).assertEqual(0) expect(datainfo.appInfo.descriptionId >= 0).assertTrue()
expect(datainfo.appInfo.icon).assertEqual("$media:icon") expect(datainfo.appInfo.icon).assertEqual("$media:icon")
expect(datainfo.appInfo.iconId).assertEqual(0) 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).assertEqual(0) expect(datainfo.appInfo.labelId >= 0).assertTrue()
expect(datainfo.appInfo.systemApp).assertEqual(false) 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++) {
...@@ -3157,11 +3157,11 @@ describe('ActsBundleManagerTest', function () { ...@@ -3157,11 +3157,11 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.bundleName).assertEqual(NAME1) expect(datainfo.bundleName).assertEqual(NAME1)
expect(datainfo.applicationInfo.name).assertEqual(NAME1) expect(datainfo.applicationInfo.name).assertEqual(NAME1)
expect(datainfo.applicationInfo.description).assertEqual("$string:mainability_description") expect(datainfo.applicationInfo.description).assertEqual("$string:mainability_description")
expect(datainfo.applicationInfo.descriptionId).assertEqual(0) expect(datainfo.applicationInfo.descriptionId >= 0).assertTrue()
expect(datainfo.applicationInfo.icon).assertEqual("$media:icon") expect(datainfo.applicationInfo.icon).assertEqual("$media:icon")
expect(datainfo.applicationInfo.iconId).assertEqual(0) expect(datainfo.applicationInfo.iconId >= 0).assertTrue()
expect(datainfo.applicationInfo.label).assertEqual("$string:app_name") expect(datainfo.applicationInfo.label).assertEqual("$string:app_name")
expect(datainfo.applicationInfo.labelId).assertEqual(0) expect(datainfo.applicationInfo.labelId >= 0).assertTrue()
expect(datainfo.applicationInfo.systemApp).assertEqual(false) expect(datainfo.applicationInfo.systemApp).assertEqual(false)
expect(datainfo.applicationInfo.supportedModes).assertEqual(0) expect(datainfo.applicationInfo.supportedModes).assertEqual(0)
expect(datainfo.applicationInfo.enabled).assertEqual(true) expect(datainfo.applicationInfo.enabled).assertEqual(true)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册