Signed-off-by: du-zhihai <duzhihai@huawei.com>

Change-Id: I106d1228d682d0ca91b3fc2ea7d8a5954f70f5fa
This commit is contained in:
du-zhihai 2022-12-05 21:55:32 +08:00
parent 0e0d3af4ae
commit 8d81c1fc0d
3 changed files with 2 additions and 2 deletions

View File

@ -2042,7 +2042,6 @@ HWTEST_F(ContinuationManagerTest, OnDeviceEvent_001, TestSize.Level3)
*/
ret = appDeviceCallbackStub.OnDeviceCancel();
EXPECT_EQ(ERR_NULL_OBJECT, ret);
}
/**

View File

@ -184,10 +184,10 @@ HWTEST_F(DistributedMissionInfoTest, testMarshalling001, TestSize.Level3)
*/
HWTEST_F(DistributedMissionInfoTest, testReadDstbMissionInfosFromParcel001, TestSize.Level3)
{
DTEST_LOG << "DistributedMissionInfoTest testReadDstbMissionInfosFromParcel001 start" << std::endl;
/**
* @tc.steps: step1. test ReadDstbMissionInfosFromParcel.
*/
DTEST_LOG << "DistributedMissionInfoTest testReadDstbMissionInfosFromParcel001 start" << std::endl;
DstbMissionInfo dstbMissionInfo;
Parcel parcel;
std::vector<DstbMissionInfo> missionInfos;

View File

@ -124,6 +124,7 @@ HWTEST_F(SnapshotTest, testWriteToParcel004, TestSize.Level3)
* @tc.steps: step3. CreatePixelMap when buffer == nullptr
*/
std::unique_ptr<Media::PixelMap> pixelMap = snapshot.CreatePixelMap(nullptr, TEST_PARCEL_WRITE_VALUE);
EXPECT_EQ(nullptr, pixelMap);
DTEST_LOG << "SnapshotTest testWriteToParcel004 end" << std::endl;
}