mirror of
https://gitee.com/openharmony/distributeddatamgr_datamgr_service
synced 2024-11-27 09:01:45 +00:00
commit
0416d03ad6
@ -144,7 +144,7 @@ HWTEST_F(SessionManagerTest, PackAndUnPack01, TestSize.Level2)
|
||||
ASSERT_NE(sendHandler, nullptr);
|
||||
uint32_t routeHeadSize = 0;
|
||||
sendHandler->GetHeadDataSize(routeHeadSize);
|
||||
ASSERT_GT(routeHeadSize, 0);
|
||||
ASSERT_EQ(routeHeadSize, 0);
|
||||
std::unique_ptr<uint8_t[]> data = std::make_unique<uint8_t[]>(routeHeadSize);
|
||||
sendHandler->FillHeadData(data.get(), routeHeadSize, routeHeadSize);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user