@@ -38,25 +38,25 @@ chip::Access::AccessControl gPermissiveAccessControl;
38
38
namespace chip {
39
39
namespace Test {
40
40
41
- void AppContext ::SetUpTestSuite ()
41
+ void AppTestFixture ::SetUpTestSuite ()
42
42
{
43
43
CHIP_ERROR err = CHIP_NO_ERROR;
44
- LoopbackMessagingContext ::SetUpTestSuite ();
44
+ LoopbackMessagingTestFixture ::SetUpTestSuite ();
45
45
// TODO: use ASSERT_EQ, once transition to pw_unit_test is complete
46
46
VerifyOrDieWithMsg ((err = chip::DeviceLayer::PlatformMgr ().InitChipStack ()) == CHIP_NO_ERROR, AppServer,
47
47
" Init CHIP stack failed: %" CHIP_ERROR_FORMAT, err.Format ());
48
48
}
49
49
50
- void AppContext ::TearDownTestSuite ()
50
+ void AppTestFixture ::TearDownTestSuite ()
51
51
{
52
52
chip::DeviceLayer::PlatformMgr ().Shutdown ();
53
- LoopbackMessagingContext ::TearDownTestSuite ();
53
+ LoopbackMessagingTestFixture ::TearDownTestSuite ();
54
54
}
55
55
56
- void AppContext ::SetUp ()
56
+ void AppTestFixture ::SetUp ()
57
57
{
58
58
CHIP_ERROR err = CHIP_NO_ERROR;
59
- LoopbackMessagingContext ::SetUp ();
59
+ LoopbackMessagingTestFixture ::SetUp ();
60
60
// TODO: use ASSERT_EQ, once transition to pw_unit_test is complete
61
61
VerifyOrDieWithMsg ((err = app::InteractionModelEngine::GetInstance ()->Init (&GetExchangeManager (), &GetFabricTable (),
62
62
app::reporting::GetDefaultReportScheduler ())) ==
@@ -68,12 +68,12 @@ void AppContext::SetUp()
68
68
AppServer, " Init AccessControl failed: %" CHIP_ERROR_FORMAT, err.Format ());
69
69
}
70
70
71
- void AppContext ::TearDown ()
71
+ void AppTestFixture ::TearDown ()
72
72
{
73
73
Access::GetAccessControl ().Finish ();
74
74
Access::ResetAccessControlToDefault ();
75
75
chip::app::InteractionModelEngine::GetInstance ()->Shutdown ();
76
- LoopbackMessagingContext ::TearDown ();
76
+ LoopbackMessagingTestFixture ::TearDown ();
77
77
}
78
78
79
79
} // namespace Test
0 commit comments