diff --git a/src/app/tests/TestExtensionFieldSets.cpp b/src/app/tests/TestExtensionFieldSets.cpp index ce363462cb6fee..3f9400fe109e03 100644 --- a/src/app/tests/TestExtensionFieldSets.cpp +++ b/src/app/tests/TestExtensionFieldSets.cpp @@ -315,8 +315,9 @@ int TestSetup(void * inContext) return SUCCESS; } +namespace { /** - * Tear down the test suite. + * Setup the test suite. */ int TestTeardown(void * inContext) { @@ -324,6 +325,7 @@ int TestTeardown(void * inContext) return SUCCESS; } +} // namespace int TestExtensionFieldSets() { diff --git a/src/app/tests/TestSceneTable.cpp b/src/app/tests/TestSceneTable.cpp index 607152b1aea4be..cb1833312fa1f9 100644 --- a/src/app/tests/TestSceneTable.cpp +++ b/src/app/tests/TestSceneTable.cpp @@ -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) { @@ -939,6 +940,7 @@ int TestTeardown(void * inContext) return SUCCESS; } +} // namespace int TestSceneTable() {