提交 50f2dbfe 编写于 作者: I inter515

修改metadata的value字段

Signed-off-by: Ninter515 <ry.renyi@huawei.com>
上级 45c3d17d
......@@ -340,7 +340,7 @@ export default function QueryExtensionAbilityInfos() {
expect(data[0].readPermission).assertEqual("");
expect(data[0].writePermission).assertEqual("");
expect(data[0].metadata[0].name).assertEqual("ohos.extension.form");
expect(data[0].metadata[0].value).assertEqual("");
expect(data[0].metadata[0].value).assertEqual("testExtensionAbilities");
expect(data[0].metadata[0].resource).assertEqual("$profile:form_config");
}).catch(err => {
expect(err).assertFail();
......@@ -367,7 +367,7 @@ export default function QueryExtensionAbilityInfos() {
expect(data[0].readPermission).assertEqual("");
expect(data[0].writePermission).assertEqual("");
expect(data[0].metadata[0].name).assertEqual("ohos.extension.form");
expect(data[0].metadata[0].value).assertEqual("");
expect(data[0].metadata[0].value).assertEqual("testExtensionAbilities");
expect(data[0].metadata[0].resource).assertEqual("$profile:form_config");
done();
})
......@@ -536,7 +536,7 @@ export default function QueryExtensionAbilityInfos() {
expect(data[0].enabled).assertTrue();
expect(data[0].readPermission).assertEqual("");
expect(data[0].metadata[0].name).assertEqual("ohos.extension.form");
expect(data[0].metadata[0].value).assertEqual("");
expect(data[0].metadata[0].value).assertEqual("testExtensionAbilities");
expect(data[0].metadata[0].resource).assertEqual("$profile:form_config");
}).catch(err => {
expect(err).assertFail();
......@@ -563,7 +563,7 @@ export default function QueryExtensionAbilityInfos() {
expect(data[0].enabled).assertTrue();
expect(data[0].writePermission).assertEqual("");
expect(data[0].metadata[0].name).assertEqual("ohos.extension.form");
expect(data[0].metadata[0].value).assertEqual("");
expect(data[0].metadata[0].value).assertEqual("testExtensionAbilities");
expect(data[0].metadata[0].resource).assertEqual("$profile:form_config");
done();
})
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { describe, it, expect } from 'deccjsunit/index.ets';
import { describe, it, expect } from 'hypium/index';
import Utils from './Utils';
import Bundle from '@ohos.bundle';
......
......@@ -86,6 +86,7 @@
"metadata": [
{
"name": "ohos.extension.form",
"value": "testExtensionAbilities",
"resource": "$profile:form_config"
}
],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册