fix tdd test failed and codex.

Signed-off-by: yudechen <chenyude@huawei.com>
Change-Id: Ic73362e8caa86a7598c8238d3d38d5b3a443ce76
This commit is contained in:
yudechen
2022-08-16 20:29:49 +08:00
parent 4662670539
commit 0d004c2ceb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ bool EncodePrivateSyscap(char **output, int *outputLen)
return false;
}
int priLen = bufferLen - PCID_MAIN_BYTES - 1;
uint32_t priLen = bufferLen - PCID_MAIN_BYTES - 1;
if (priLen <= 0) {
*outputLen = 0;
return false;
+1 -1
View File
@@ -137,7 +137,7 @@ 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.Graphic.UI",
const char expect[][256] = {"SystemCapability.Graphic.Graphic2D.Vulkan",
"SystemCapability.HiviewDFX.HiDumper",
"SystemCapability.vendor.xxxxx1",
"SystemCapability.device.xxxxx2"};