mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-23 23:30:44 +00:00
change code format
Signed-off-by: xinking129 <xinxin13@huawei.com>
This commit is contained in:
parent
cf688ff3f5
commit
6fee675418
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user