change code format

Signed-off-by: xinking129 <xinxin13@huawei.com>
This commit is contained in:
xinking129 2023-12-11 11:15:05 +08:00
parent cf688ff3f5
commit 6fee675418
2 changed files with 4 additions and 3 deletions

View File

@ -82,7 +82,8 @@ HWTEST_F(AbilityForegroundStateObserverProxyTest, OnAbilityStateChanged_0100, Te
.Times(1)
.WillOnce(Invoke(mock_.GetRefPtr(), &MockAbilityForegroundStateObserverStub::InvokeSendRequest));
observerProxy_->OnAbilityStateChanged(abilityStateData);
EXPECT_EQ(static_cast<uint32_t>(IAbilityForegroundStateObserver::Message::ON_ABILITY_STATE_CHANGED), mock_->getCode());
EXPECT_EQ(
static_cast<uint32_t>(IAbilityForegroundStateObserver::Message::ON_ABILITY_STATE_CHANGED), mock_->getCode());
GTEST_LOG_(INFO) << "OnAbilityStateChanged_0100 end";
}
} // namespace AbilityRuntime

View File

@ -1150,7 +1150,7 @@ HWTEST_F(AppSpawnSocketTest, ObserverExist_002, TestSize.Level0)
/**
* @tc.name: RegisterAbilityForegroundStateObserver_0100
* @tc.desc: The test returns when the permission judgment is inconsistent.
* @tc.desc: The test returns when the permission judgment is inconsistent.
* @tc.type: FUNC
*/
HWTEST_F(AppSpawnSocketTest, RegisterAbilityForegroundStateObserver_0100, TestSize.Level1)
@ -1165,7 +1165,7 @@ HWTEST_F(AppSpawnSocketTest, RegisterAbilityForegroundStateObserver_0100, TestSi
/**
* @tc.name: UnregisterAbilityForegroundStateObserver_0100
* @tc.desc: The test returns when the permission judgment is inconsistent.
* @tc.desc: The test returns when the permission judgment is inconsistent.
* @tc.type: FUNC
*/
HWTEST_F(AppSpawnSocketTest, UnregisterAbilityForegroundStateObserver_0100, TestSize.Level1)