Skip to content

Commit

Permalink
Rename last functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Jan 22, 2024
1 parent 888d200 commit be491f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/tests/TestICDManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,14 @@ class TestICDManager
NL_TEST_ASSERT(aSuite, CHIP_NO_ERROR == table.Set(0, entry));

// Trigger register event after first entry was added
ICDNotifier::GetInstance().BroadcastICDManagementEvent(ICDMEvent::kTableUpdated);
ICDNotifier::GetInstance().NotifyICDManagementEvent(ICDMEvent::kTableUpdated);

// Check ICDManager is now in the LIT operating mode
NL_TEST_ASSERT(aSuite, ICDConfigurationData::GetInstance().GetICDMode() == ICDConfigurationData::ICDMode::LIT);

// Kick an ActiveModeThreshold since a Registration can only happen from an incoming message that would transition the ICD
// to ActiveMode
ICDNotifier::GetInstance().BroadcastNetworkActivityNotification();
ICDNotifier::GetInstance().NotifyNetworkActivityNotification();
NL_TEST_ASSERT(aSuite, ctx->mICDManager.mOperationalState == ICDManager::OperationalState::ActiveMode);

// Return the device to return to IdleMode - Increase time by ActiveModeThreshold since ActiveModeDuration is 0
Expand Down

0 comments on commit be491f0

Please sign in to comment.