Skip to content

Commit

Permalink
Separating namespaces in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lpbeliveau-silabs authored and pull[bot] committed Oct 23, 2023
1 parent 39c29ed commit 2661052
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/app/tests/TestExtensionFieldSets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,15 +315,17 @@ int TestSetup(void * inContext)
return SUCCESS;
}

namespace {
/**
* Tear down the test suite.
* Setup the test suite.
*/
int TestTeardown(void * inContext)
{
chip::Platform::MemoryShutdown();

return SUCCESS;
}
} // namespace

int TestExtensionFieldSets()
{
Expand Down
4 changes: 3 additions & 1 deletion src/app/tests/TestSceneTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -916,8 +916,9 @@ void TestFabricScenes(nlTestSuite * aSuite, void * aContext)

} // namespace TestScenes

namespace {
/**
* Tear down the test suite.
* Setup the test suite.
*/
int TestSetup(void * inContext)
{
Expand All @@ -939,6 +940,7 @@ int TestTeardown(void * inContext)

return SUCCESS;
}
} // namespace

int TestSceneTable()
{
Expand Down

0 comments on commit 2661052

Please sign in to comment.