提交 1aebc7a5 编写于 作者: C chengxingzhen

xts修改json中deviceType属性

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 be16cba5
......@@ -6,7 +6,8 @@
"description": "$string:entry_desc",
"mainElement": "MainAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -6,7 +6,8 @@
"description": "$string:phone_entry_dsc",
"mainElement": "MainAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -6,7 +6,8 @@
"description": "$string:entry_desc",
"mainElement": "MainAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -6,7 +6,8 @@
"description": "$string:entry_desc",
"mainElement": "MainAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -6,7 +6,8 @@
"description": "$string:entry_desc",
"mainElement": "MainAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -18,7 +18,8 @@
"mainAbility": ".MainAbility",
"srcPath": "",
"deviceType": [
"default"
"default",
"tablet"
],
"distro": {
"deliveryWithInstall": true,
......
......@@ -17,7 +17,8 @@
"package": "com.amsst.fwkdataaccessor",
"name": ".entry",
"deviceType": [
"default"
"default",
"tablet"
],
"distro": {
"deliveryWithInstall": true,
......
......@@ -19,7 +19,8 @@
"mainAbility": ".MainAbility",
"srcPath":"",
"deviceType": [
"default"
"default",
"tablet"
],
"distro": {
"deliveryWithInstall": true,
......
......@@ -18,7 +18,8 @@
"mainAbility": ".MainAbility",
"srcPath": "",
"deviceType": [
"default"
"default",
"tablet"
],
"distro": {
"deliveryWithInstall": true,
......
......@@ -18,7 +18,8 @@
"mainAbility": ".MainAbility",
"srcPath": "",
"deviceType": [
"default"
"default",
"tablet"
],
"distro": {
"deliveryWithInstall": true,
......
......@@ -6,8 +6,8 @@
"description": "$string:entry_desc",
"mainElement": "MainAbility",
"deviceTypes": [
"default",
"tablet"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -18,7 +18,8 @@
"name": ".entry",
"mainAbility": "com.amsst.actsstserviceabilityclientcasetest.MainAbility",
"deviceType": [
"default"
"default",
"tablet"
],
"distro": {
"deliveryWithInstall": true,
......
......@@ -6,7 +6,8 @@
"description": "$string:phone_entry_dsc",
"mainElement": "MainAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -6,7 +6,8 @@
"description": "$string:phone_entry_dsc",
"mainElement": "MainAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -6,7 +6,8 @@
"description": "$string:phone_entry_dsc",
"mainElement": "MainAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -6,7 +6,8 @@
"description": "$string:phone_entry_dsc",
"mainElement": "MainAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -6,7 +6,8 @@
"description": "$string:phone_entry_dsc",
"mainElement": "com.example.staticextensioninfotest.MainAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -126,7 +126,7 @@ export default function abilityTest() {
expect(data.backgroundImg).assertEqual("");
expect(data.supportedModes).assertEqual(0);
expect(data.reqCapabilities.length).assertEqual(0);
expect(data.deviceTypes.length).assertEqual(1);
expect(data.deviceTypes.length).assertEqual(2);
expect(data.deviceTypes[0]).assertEqual("default");
expect(data.moduleName).assertEqual("phone")
expect(data.mainAbilityName).assertEqual("com.example.staticextensioninfo.MainAbility");
......@@ -308,7 +308,7 @@ export default function abilityTest() {
expect(data.backgroundImg).assertEqual("");
expect(data.supportedModes).assertEqual(0);
expect(data.reqCapabilities.length).assertEqual(0);
expect(data.deviceTypes.length).assertEqual(1);
expect(data.deviceTypes.length).assertEqual(2);
expect(data.deviceTypes[0]).assertEqual("default");
expect(data.moduleName).assertEqual("phone")
expect(data.mainAbilityName).assertEqual("com.example.staticextensioninfotest.MainAbility");
......
......@@ -6,7 +6,8 @@
"description": "$string:phone_entry_dsc",
"mainElement": "com.example.staticextensioninfo.MainAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -6,7 +6,8 @@
"description": "$string:phone_entry_dsc",
"mainElement": "MainAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -6,7 +6,8 @@
"description": "$string:phone_entry_dsc",
"mainElement": "MainAbility",
"deviceTypes": [
"default"
"default",
"tablet"
],
"deliveryWithInstall": true,
"installationFree": false,
......
......@@ -17,7 +17,7 @@
"name": ".entry",
"mainAbility": ".MainAbility",
"deviceType": [
"tablet",
"tablet",
"default"
],
"distro": {
......@@ -92,4 +92,4 @@
},
"srcPath": ""
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册