mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-12-29 21:14:50 +00:00
update tests/core/transmission/trans_channel/udp_negotiation/trans_udp_nego_test.cpp.
Signed-off-by: 张再尧 <zhangzaiyao@huawei.com>
This commit is contained in:
parent
a2f1d6cb63
commit
45e17b6c96
@ -35,6 +35,7 @@ using namespace testing::ext;
|
||||
namespace OHOS {
|
||||
|
||||
#define INVALID_ID (-1)
|
||||
#define INVALID_SEQ (-1)
|
||||
#define INVALID_AUTH_ID (-2)
|
||||
|
||||
class TransUdpNegoTest : public testing::Test {
|
||||
@ -267,7 +268,7 @@ HWTEST_F(TransUdpNegoTest, TransUdpNegoTest009, TestSize.Level1)
|
||||
{
|
||||
int64_t authId = AUTH_INVALID_ID;
|
||||
AuthTransData data;
|
||||
int32_t ret = memset_s(&channel, sizeof(UdpChannelInfo), 0, sizeof(UdpChannelInfo));
|
||||
|
||||
EXPECT_TRUE(ret == SOFTBUS_OK);
|
||||
UdpModuleCb(authId, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user