fix gtest errors

This commit is contained in:
Shengliang Guan 2022-01-05 02:08:56 -08:00
parent 92b6782d19
commit 69349c38d4
1 changed files with 2 additions and 2 deletions

View File

@ -17,15 +17,15 @@ class DndTestProfile : public ::testing::Test {
static void TearDownTestSuite() { test.Cleanup(); }
static Testbase test;
static int32_t connId;
public:
void SetUp() override {}
void TearDown() override {}
int32_t connId;
};
Testbase DndTestProfile::test;
int32_t DndTestProfile::connId;
TEST_F(DndTestProfile, 01_ConnectMsg) {
int32_t contLen = sizeof(SConnectMsg);