diff --git a/ability/ability_runtime/stage/actslifecyclesinglehaptest/entry/src/main/ets/test/LifeCycleTest.ets b/ability/ability_runtime/stage/actslifecyclesinglehaptest/entry/src/main/ets/test/LifeCycleTest.ets index 94e818a3d2ba4eda16b7660bf3252d7cf01a70bb..d1dd39f8f60df31efc4ffa1995941c7bb984cd0e 100644 --- a/ability/ability_runtime/stage/actslifecyclesinglehaptest/entry/src/main/ets/test/LifeCycleTest.ets +++ b/ability/ability_runtime/stage/actslifecyclesinglehaptest/entry/src/main/ets/test/LifeCycleTest.ets @@ -494,12 +494,12 @@ export default function lifecycleTest() { expect(exlist[0]).assertEqual("MainAbility5 onAbilityCreate"); expect(exlist[1]).assertEqual("MainAbility5 onWindowStageCreate"); expect(exlist[2]).assertEqual("MainAbility5 onAbilityForeground"); - expect(exlist[3]).assertEqual("MainAbility2 onAbilityCreate"); - expect(exlist[4]).assertEqual("MainAbility2 onWindowStageCreate"); - expect(exlist[5]).assertEqual("MainAbility2 onAbilityForeground"); - expect(exlist[6]).assertEqual("MainAbility5 onAbilityBackground"); - expect(exlist[7]).assertEqual("MainAbility5 onWindowStageDestroy"); - expect(exlist[8]).assertEqual("MainAbility5 onAbilityDestroy"); + expect(exlist[3]).assertEqual("MainAbility5 onAbilityBackground"); + expect(exlist[4]).assertEqual("MainAbility5 onWindowStageDestroy"); + expect(exlist[5]).assertEqual("MainAbility5 onAbilityDestroy"); + expect(exlist[6]).assertEqual("MainAbility2 onAbilityCreate"); + expect(exlist[7]).assertEqual("MainAbility2 onWindowStageCreate"); + expect(exlist[8]).assertEqual("MainAbility2 onAbilityForeground"); expect(exlist[9]).assertEqual("MainAbility2 onAbilityBackground"); expect(exlist[10]).assertEqual("MainAbility2 onWindowStageDestroy"); expect(exlist[11]).assertEqual("MainAbility2 onAbilityDestroy");