diff --git a/barrierfree/accessibleabilitylist/entry/src/main/config.json b/barrierfree/accessibleabilitylist/entry/src/main/config.json index 15215e2387e6ef2c33b9b52533bedd8fcf1f1d93..2e8fa9f14ec8ed01ab5cb89f36d2467524a34716 100644 --- a/barrierfree/accessibleabilitylist/entry/src/main/config.json +++ b/barrierfree/accessibleabilitylist/entry/src/main/config.json @@ -24,13 +24,6 @@ "moduleName": "entry", "moduleType": "entry" }, - "defPermissions": [ - { - "availableScope": [], - "grantMode": "system_grant", - "name": "ohos.permission.DISTRIBUTED_DATASYNC" - } - ], "reqPermissions": [ { "name": "ohos.permission.DISTRIBUTED_DATASYNC", diff --git a/barrierfree/accessibleabilitylist/entry/src/main/js/test/AccessibleAbilityList.test.js b/barrierfree/accessibleabilitylist/entry/src/main/js/test/AccessibleAbilityList.test.js index 3adbe50fac23558d2d362e9d30770399e52e5e97..b476c58493307ac3f8d3ded2bd33a9dac184f188 100644 --- a/barrierfree/accessibleabilitylist/entry/src/main/js/test/AccessibleAbilityList.test.js +++ b/barrierfree/accessibleabilitylist/entry/src/main/js/test/AccessibleAbilityList.test.js @@ -56,6 +56,26 @@ describe('AccessibleAbilityList', function () { done(); } console.info(`AccessibleAbilityList: AbilityList_0210 result ${data.length}`); + for (let item of data) { + console.info(item.id); + expect(item.id != undefined).assertEqual(true); + console.info(item.name); + expect(item.name != undefined).assertEqual(true); + console.info(item.description); + expect(item.description != undefined).assertEqual(true); + console.info(item.abilityTypes); + expect(item.abilityTypes != undefined).assertEqual(true); + console.info(item.eventTypes); + expect(item.eventTypes != undefined).assertEqual(true); + console.info(item.capabilities); + expect(item.capabilities != undefined).assertEqual(true); + console.info(item.packageName); + expect(item.packageName != undefined).assertEqual(true); + console.info(item.filterBundleNames); + expect(item.filterBundleNames != undefined).assertEqual(true); + console.info(item.bundleName); + expect(item.bundleName != undefined).assertEqual(true); + } expect(Array.isArray(data)).assertEqual(true); done(); }); diff --git a/barrierfree/accessiblecaptionconfiguration/entry/src/main/config.json b/barrierfree/accessiblecaptionconfiguration/entry/src/main/config.json index d087c6c0bd59442d411286b1ff9b5d04e066c40a..d3ff7e3656f080594e306c7b482300306284c2b1 100644 --- a/barrierfree/accessiblecaptionconfiguration/entry/src/main/config.json +++ b/barrierfree/accessiblecaptionconfiguration/entry/src/main/config.json @@ -24,13 +24,6 @@ "moduleName": "entry", "moduleType": "entry" }, - "defPermissions": [ - { - "availableScope": [], - "grantMode": "system_grant", - "name": "ohos.permission.DISTRIBUTED_DATASYNC" - } - ], "reqPermissions": [ { "name": "ohos.permission.DISTRIBUTED_DATASYNC", diff --git a/barrierfree/accessiblecaptionconfiguration/entry/src/main/js/test/AccessibleCaptionConfiguration.test.js b/barrierfree/accessiblecaptionconfiguration/entry/src/main/js/test/AccessibleCaptionConfiguration.test.js index 0b14bdbf06955c09fe14573e2ff0d25b051c2ec6..5d46a5a2a898209f044b096a89ea0076c20a5185 100644 --- a/barrierfree/accessiblecaptionconfiguration/entry/src/main/js/test/AccessibleCaptionConfiguration.test.js +++ b/barrierfree/accessiblecaptionconfiguration/entry/src/main/js/test/AccessibleCaptionConfiguration.test.js @@ -38,6 +38,9 @@ describe('AccessibleCaptionConfiguration', function () { it('CaptionConfiguration_0010', 0, async function (done) { console.info('CaptionConfiguration_0010'); let captionManager = accessibility.getCaptionsManager(); + let enabled = captionManager.enabled; + expect(enabled).assertEqual(false); + done(); let stateEventType = 'enableChange'; let ret = captionManager.on(stateEventType, (data) => {}); expect(ret).assertEqual(undefined); diff --git a/barrierfree/accessiblecheckability/entry/src/main/config.json b/barrierfree/accessiblecheckability/entry/src/main/config.json index 1b6983e0649a97a3c5b21a9585f9fec4830ebbcd..0545ec2ed0f1807fd067e3bfb07cdf3579c2c590 100644 --- a/barrierfree/accessiblecheckability/entry/src/main/config.json +++ b/barrierfree/accessiblecheckability/entry/src/main/config.json @@ -24,13 +24,6 @@ "moduleName": "entry", "moduleType": "entry" }, - "defPermissions": [ - { - "availableScope": [], - "grantMode": "system_grant", - "name": "ohos.permission.DISTRIBUTED_DATASYNC" - } - ], "reqPermissions": [ { "name": "ohos.permission.DISTRIBUTED_DATASYNC", diff --git a/barrierfree/accessibleregisterstate/entry/src/main/config.json b/barrierfree/accessibleregisterstate/entry/src/main/config.json index 2a3b9a6821786daea6874c3c543c4c5867c6a0ea..9c265f2db9a3343be6e54a8174053ad887f831ae 100644 --- a/barrierfree/accessibleregisterstate/entry/src/main/config.json +++ b/barrierfree/accessibleregisterstate/entry/src/main/config.json @@ -24,13 +24,6 @@ "moduleName": "entry", "moduleType": "entry" }, - "defPermissions": [ - { - "availableScope": [], - "grantMode": "system_grant", - "name": "ohos.permission.DISTRIBUTED_DATASYNC" - } - ], "reqPermissions": [ { "name": "ohos.permission.DISTRIBUTED_DATASYNC", diff --git a/barrierfree/accessiblesendevent/entry/src/main/config.json b/barrierfree/accessiblesendevent/entry/src/main/config.json index c0bc8572d9cbde633d096bf7752be48afa339adc..d7aca754591c9f4892fee5b22ed38f1ba72749f4 100644 --- a/barrierfree/accessiblesendevent/entry/src/main/config.json +++ b/barrierfree/accessiblesendevent/entry/src/main/config.json @@ -24,13 +24,6 @@ "moduleName": "entry", "moduleType": "entry" }, - "defPermissions": [ - { - "availableScope": [], - "grantMode": "system_grant", - "name": "ohos.permission.DISTRIBUTED_DATASYNC" - } - ], "reqPermissions": [ { "name": "ohos.permission.DISTRIBUTED_DATASYNC",