Skip to content

Commit 1249907

Browse files
lpbeliveau-silabspull[bot]
authored andcommittedJan 25, 2024
Separating namespaces in tests
1 parent 110cf5a commit 1249907

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
 

‎src/app/tests/TestExtensionFieldSets.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -315,15 +315,17 @@ int TestSetup(void * inContext)
315315
return SUCCESS;
316316
}
317317

318+
namespace {
318319
/**
319-
* Tear down the test suite.
320+
* Setup the test suite.
320321
*/
321322
int TestTeardown(void * inContext)
322323
{
323324
chip::Platform::MemoryShutdown();
324325

325326
return SUCCESS;
326327
}
328+
} // namespace
327329

328330
int TestExtensionFieldSets()
329331
{

‎src/app/tests/TestSceneTable.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -916,8 +916,9 @@ void TestFabricScenes(nlTestSuite * aSuite, void * aContext)
916916

917917
} // namespace TestScenes
918918

919+
namespace {
919920
/**
920-
* Tear down the test suite.
921+
* Setup the test suite.
921922
*/
922923
int TestSetup(void * inContext)
923924
{
@@ -939,6 +940,7 @@ int TestTeardown(void * inContext)
939940

940941
return SUCCESS;
941942
}
943+
} // namespace
942944

943945
int TestSceneTable()
944946
{

0 commit comments

Comments
 (0)
Please sign in to comment.