提交 31d09a4b 编写于 作者: I inter515

修改拼写错误'

Signed-off-by: Ninter515 <ry.renyi@huawei.com>
上级 7497785f
...@@ -204,15 +204,15 @@ export default function actsBmsJsUnPermissionTest() { ...@@ -204,15 +204,15 @@ export default function actsBmsJsUnPermissionTest() {
expect(data.descriptionId).assertLarger(0); expect(data.descriptionId).assertLarger(0);
expect(data.formEnabled).assertEqual(false); expect(data.formEnabled).assertEqual(false);
expect(data.iconId).assertLarger(0); expect(data.iconId).assertLarger(0);
except(data.labelId).assertLarger(0); expect(data.labelId).assertLarger(0);
expect(data.subType).assertEqual(0); expect(data.subType).assertEqual(0);
except(data.enabled).assertEqual(true); expect(data.enabled).assertEqual(true);
expect(data.readPermission).assertEqual(""); expect(data.readPermission).assertEqual("");
expect(data.writePermission).assertEqual(""); expect(data.writePermission).assertEqual("");
expect(data.targetAbility).assertEqual(""); expect(data.targetAbility).assertEqual("");
expect(data.theme).assertEqual(""); expect(data.theme).assertEqual("");
expect(data.metaData).assertEqual([]); expect(data.metaData.length).assertEqual(0);
expect(data.metadata).assertEqual([]); expect(data.metadata.length).assertEqual(0);
checkApplicationInfo(data.applicationInfo); checkApplicationInfo(data.applicationInfo);
console.log("---checkAbilityInfo_other End--- "); console.log("---checkAbilityInfo_other End--- ");
} }
...@@ -233,10 +233,10 @@ export default function actsBmsJsUnPermissionTest() { ...@@ -233,10 +233,10 @@ export default function actsBmsJsUnPermissionTest() {
expect(info.supportedModes).assertEqual(0); expect(info.supportedModes).assertEqual(0);
expect(info.process).assertEqual(""); expect(info.process).assertEqual("");
expect(info.moduleSourceDirs[0]).assertEqual("/data/app/el1/bundle/public/com.example.actsbmsetsunpermissiontest/com.example.actsbmsetsunpermissiontest"); expect(info.moduleSourceDirs[0]).assertEqual("/data/app/el1/bundle/public/com.example.actsbmsetsunpermissiontest/com.example.actsbmsetsunpermissiontest");
expect(info.metaData).expect({}); expect(JSON.stringify(info.metadata)).assertEqual("{}");
expect(info.metadata).expect({}); expect(JSON.stringify(info.metadata)).assertEqual("{}");
expect(info.enabled).expect(true); expect(info.enabled).assertEqual(true);
expect(info.flags).expect(0); expect(info.flags).assertEqual(0);
expect(info.uid).assertLarger(0); expect(info.uid).assertLarger(0);
expect(info.entityType).assertEqual("unspecified"); expect(info.entityType).assertEqual("unspecified");
expect(info.removable).assertEqual(true); expect(info.removable).assertEqual(true);
......
...@@ -298,15 +298,15 @@ export default function GetabilityInfo() { ...@@ -298,15 +298,15 @@ export default function GetabilityInfo() {
expect(data.descriptionId).assertLarger(0); expect(data.descriptionId).assertLarger(0);
expect(data.formEnabled).assertEqual(false); expect(data.formEnabled).assertEqual(false);
expect(data.iconId).assertLarger(0); expect(data.iconId).assertLarger(0);
except(data.labelId).assertLarger(0); expect(data.labelId).assertLarger(0);
expect(data.subType).assertEqual(0); expect(data.subType).assertEqual(0);
except(data.enabled).assertEqual(true); expect(data.enabled).assertEqual(true);
expect(data.readPermission).assertEqual(""); expect(data.readPermission).assertEqual("");
expect(data.writePermission).assertEqual(""); expect(data.writePermission).assertEqual("");
expect(data.targetAbility).assertEqual(""); expect(data.targetAbility).assertEqual("");
expect(data.theme).assertEqual(""); expect(data.theme).assertEqual("");
expect(data.metaData).assertEqual([]); expect(data.metaData.length).assertEqual(0);
expect(data.metadata).assertEqual([]); expect(data.metadata.length).assertEqual(0);
checkApplicationInfo_other(data.applicationInfo); checkApplicationInfo_other(data.applicationInfo);
console.log("---checkAbilityInfo_other End--- "); console.log("---checkAbilityInfo_other End--- ");
} }
...@@ -321,15 +321,15 @@ export default function GetabilityInfo() { ...@@ -321,15 +321,15 @@ export default function GetabilityInfo() {
expect(info.iconId > 0).assertTrue(); expect(info.iconId > 0).assertTrue();
expect(info.label).assertEqual("$string:app_name"); expect(info.label).assertEqual("$string:app_name");
expect(info.labelId > 0).assertTrue(); expect(info.labelId > 0).assertTrue();
expect(info.systemApp).assertEqual(true); expect(info.systemApp).assertEqual(false);
expect(info.entryDir).assertEqual("/data/app/el1/bundle/public/com.ohos.acecollaboration/com.ohos.acecollaboration"); expect(info.entryDir).assertEqual("/data/app/el1/bundle/public/com.example.third1/com.example.third1.entry");
expect(info.supportedModes).assertEqual(0); expect(info.supportedModes).assertEqual(0);
expect(info.process).assertEqual(""); expect(info.process).assertEqual("");
expect(info.moduleSourceDirs[0]).assertEqual("/data/app/el1/bundle/public/com.ohos.acecollaboration/com.ohos.acecollaboration"); expect(info.moduleSourceDirs[0]).assertEqual("/data/app/el1/bundle/public/com.example.third1/com.example.third1.entry");
expect(info.metaData).expect({}); expect(JSON.stringify(info.metaData)).assertEqual("{}");
expect(info.metadata).expect({}); expect(JSON.stringify(info.metadata)).assertEqual("{}");
expect(info.enabled).expect(true); expect(info.enabled).assertEqual(true);
expect(info.flags).expect(0); expect(info.flags).assertEqual(0);
expect(info.uid).assertLarger(0); expect(info.uid).assertLarger(0);
expect(info.entityType).assertEqual("unspecified"); expect(info.entityType).assertEqual("unspecified");
expect(info.removable).assertEqual(true); expect(info.removable).assertEqual(true);
......
...@@ -122,7 +122,7 @@ it('ACTS_ZipFile_0300', 0, async function (done) { ...@@ -122,7 +122,7 @@ it('ACTS_ZipFile_0300', 0, async function (done) {
/* /*
* @tc.number: ACTS_ZipFile_0400 * @tc.number: ACTS_ZipFile_0400
* @tc.name: zipFile * @tc.name: zipFile
* @tc.desc: The ouput file is a directory that does not exist * @tc.desc: The output file is a directory that does not exist
*/ */
it('ACTS_ZipFile_0400', 0, async function (done) { it('ACTS_ZipFile_0400', 0, async function (done) {
console.log("==================ACTS_ZipFile_0400 start=================="); console.log("==================ACTS_ZipFile_0400 start==================");
......
...@@ -455,7 +455,7 @@ HWTEST_F(ActsZlibTest, ActsZlibTestSync, Function | MediumTest | Level2) ...@@ -455,7 +455,7 @@ HWTEST_F(ActsZlibTest, ActsZlibTestSync, Function | MediumTest | Level2)
inflateSync(&d_stream); inflateSync(&d_stream);
inflate(&d_stream, Z_FINISH); inflate(&d_stream, Z_FINISH);
inflateEnd(&d_stream); inflateEnd(&d_stream);
printf("after inflateSync: hel%s\n", reinterpret_cast<char *>(uncompr)); printf("after inflateSync: help%s\n", reinterpret_cast<char *>(uncompr));
free(compr); free(compr);
free(uncompr); free(uncompr);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册