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 Nov 23, 2023
1 parent b3d5597 commit 1180019
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 1180019

Please sign in to comment.