mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-27 02:40:40 +00:00
!4519 fix: Modify conn_log question test
Merge pull request !4519 from shiyifan/master
This commit is contained in:
commit
fb78bb3cfe
@ -75,6 +75,18 @@ HWTEST_F(ConnLogTest, ConnLogTest001, TestSize.Level0)
|
||||
EXPECT_EQ(++connDomainBase, label.domain);
|
||||
EXPECT_STREQ("ConnNearby", label.tag);
|
||||
|
||||
EXPECT_EQ(++index, CONN_BLE_DIRECT);
|
||||
label = CONN_LABELS[CONN_BLE_DIRECT];
|
||||
EXPECT_EQ(CONN_BLE_DIRECT, label.label);
|
||||
EXPECT_EQ(++connDomainBase, label.domain);
|
||||
EXPECT_STREQ("ConnBD", label.tag);
|
||||
|
||||
EXPECT_EQ(++index, CONN_BROADCAST);
|
||||
label = CONN_LABELS[CONN_BROADCAST];
|
||||
EXPECT_EQ(CONN_BROADCAST, label.label);
|
||||
EXPECT_EQ(++connDomainBase, label.domain);
|
||||
EXPECT_STREQ("ConnBC", label.tag);
|
||||
|
||||
EXPECT_EQ(++index, CONN_TEST);
|
||||
label = CONN_LABELS[CONN_TEST];
|
||||
EXPECT_EQ(CONN_TEST, label.label);
|
||||
|
Loading…
Reference in New Issue
Block a user