mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2025-02-17 04:49:02 +00:00
Signed-off-by: du-zhihai <duzhihai@huawei.com>
Change-Id: I106d1228d682d0ca91b3fc2ea7d8a5954f70f5fa
This commit is contained in:
parent
0e0d3af4ae
commit
8d81c1fc0d
@ -2042,7 +2042,6 @@ HWTEST_F(ContinuationManagerTest, OnDeviceEvent_001, TestSize.Level3)
|
||||
*/
|
||||
ret = appDeviceCallbackStub.OnDeviceCancel();
|
||||
EXPECT_EQ(ERR_NULL_OBJECT, ret);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user