File tree 1 file changed +5
-5
lines changed
src/lib/dnssd/platform/tests
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -157,18 +157,18 @@ class TestDnssdPlatform : public ::testing::Test
157
157
{
158
158
public:
159
159
static void SetUpTestSuite () { ASSERT_EQ (chip::Platform::MemoryInit (), CHIP_NO_ERROR); }
160
- static void TearDownTestSuite ()
161
- {
162
- DiscoveryImplPlatform::GetInstance ().Shutdown ();
163
- chip::Platform::MemoryShutdown ();
164
- }
160
+
161
+ static void TearDownTestSuite () { chip::Platform::MemoryShutdown (); }
162
+
165
163
void SetUp () override
166
164
{
167
165
test::Reset ();
168
166
DiscoveryImplPlatform & mdnsPlatform = DiscoveryImplPlatform::GetInstance ();
169
167
EXPECT_EQ (mdnsPlatform.Init (DeviceLayer::UDPEndPointManager ()), CHIP_NO_ERROR);
170
168
EXPECT_EQ (mdnsPlatform.RemoveServices (), CHIP_NO_ERROR);
171
169
}
170
+
171
+ void TearDown () override { DiscoveryImplPlatform::GetInstance ().Shutdown (); }
172
172
};
173
173
174
174
TEST_F (TestDnssdPlatform, TestStub)
You can’t perform that action at this time.
0 commit comments