mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2024-11-23 08:00:07 +00:00
1010监视意见修改
Signed-off-by: yangyang <yangyang651@h-partners.com>
This commit is contained in:
parent
cb155fc82c
commit
9788273397
@ -61,7 +61,7 @@ HWTEST_F(DownloadProfileConfigInfoTest, ReadFromParcel_0200, Function | MediumTe
|
|||||||
readBoolList.push_back(true);
|
readBoolList.push_back(true);
|
||||||
MockReadBool(true, &readBoolList);
|
MockReadBool(true, &readBoolList);
|
||||||
MockReadInt32(false);
|
MockReadInt32(false);
|
||||||
EXPECT_TRUE(info.ReadFromParcel(parcel));
|
EXPECT_FALSE(info.ReadFromParcel(parcel));
|
||||||
ResetParcelState();
|
ResetParcelState();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ HWTEST_F(DownloadProfileConfigInfoTest, ReadFromParcel_0300, Function | MediumTe
|
|||||||
readBoolList.push_back(true);
|
readBoolList.push_back(true);
|
||||||
MockReadBool(true, &readBoolList);
|
MockReadBool(true, &readBoolList);
|
||||||
MockReadInt32(true);
|
MockReadInt32(true);
|
||||||
EXPECT_TRUE(info.ReadFromParcel(parcel));
|
EXPECT_FALSE(info.ReadFromParcel(parcel));
|
||||||
ResetParcelState();
|
ResetParcelState();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ HWTEST_F(DownloadProfileConfigInfoTest, ReadFromParcel_0400, Function | MediumTe
|
|||||||
readBoolList.push_back(false);
|
readBoolList.push_back(false);
|
||||||
MockReadBool(true, &readBoolList);
|
MockReadBool(true, &readBoolList);
|
||||||
MockReadInt32(true);
|
MockReadInt32(true);
|
||||||
EXPECT_TRUE(info.ReadFromParcel(parcel));
|
EXPECT_FALSE(info.ReadFromParcel(parcel));
|
||||||
ResetParcelState();
|
ResetParcelState();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -113,7 +113,7 @@ HWTEST_F(DownloadProfileConfigInfoTest, Marshalling_0200, Function | MediumTest
|
|||||||
writeBoolList.push_back(true);
|
writeBoolList.push_back(true);
|
||||||
MockWriteBool(true, &writeBoolList);
|
MockWriteBool(true, &writeBoolList);
|
||||||
MockWriteInt32(false);
|
MockWriteInt32(false);
|
||||||
EXPECT_TRUE(info.Marshalling(parcel));
|
EXPECT_FALSE(info.Marshalling(parcel));
|
||||||
ResetParcelState();
|
ResetParcelState();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ HWTEST_F(DownloadProfileConfigInfoTest, Marshalling_0300, Function | MediumTest
|
|||||||
writeBoolList.push_back(true);
|
writeBoolList.push_back(true);
|
||||||
MockWriteBool(true, &writeBoolList);
|
MockWriteBool(true, &writeBoolList);
|
||||||
MockWriteInt32(true);
|
MockWriteInt32(true);
|
||||||
EXPECT_TRUE(info.Marshalling(parcel));
|
EXPECT_FALSE(info.Marshalling(parcel));
|
||||||
ResetParcelState();
|
ResetParcelState();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -139,7 +139,7 @@ HWTEST_F(DownloadProfileConfigInfoTest, Marshalling_0400, Function | MediumTest
|
|||||||
writeBoolList.push_back(false);
|
writeBoolList.push_back(false);
|
||||||
MockWriteBool(true, &writeBoolList);
|
MockWriteBool(true, &writeBoolList);
|
||||||
MockWriteInt32(true);
|
MockWriteInt32(true);
|
||||||
EXPECT_TRUE(info.Marshalling(parcel));
|
EXPECT_FALSE(info.Marshalling(parcel));
|
||||||
ResetParcelState();
|
ResetParcelState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user