!117 codecheck 问题清零。

Merge pull request !117 from chenyude/codecheck
This commit is contained in:
openharmony_ci
2022-08-08 07:13:16 +00:00
committed by Gitee
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -673,7 +673,7 @@ int32_t ComparePcidWithRpcidString(char *pcidFile, char *rpcidFile, uint32_t typ
pcidContent = pcidFile;
rpcidContent = rpcidFile;
} else {
PRINT_ERR("Input file type error, type=%d\n", type);
PRINT_ERR("Input file type error, type=%u\n", type);
return -1;
}
+2 -2
View File
@@ -134,8 +134,8 @@ HWTEST_F(SyscapCodecTest, ComparePcidString, TestSize.Level1)
const char rpcidString[] = "33588992,1766370052,65536,276824064,0,0,0,0,0,0,"\
"0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"\
"SystemCapability.vendor.xxxxx1,SystemCapability.device.xxxxx2";
const char expect[][256] = {"SystemCapability.HiviewDFX.HiChecker",
"SystemCapability.HiviewDFX.HiProfiler.HiDebug",
const char expect[][256] = {"SystemCapability.Graphic.Wms",
"SystemCapability.HiviewDFX.HiLog",
"SystemCapability.vendor.xxxxx1",
"SystemCapability.device.xxxxx2"};
int32_t ret = ComparePcidString(pcidString, rpcidString, &result);