2022-12-24 06:13:42 +01:00
|
|
|
#ifndef GUARD_TEST_RUNNER_H
|
|
|
|
#define GUARD_TEST_RUNNER_H
|
|
|
|
|
|
|
|
extern const bool8 gTestRunnerEnabled;
|
|
|
|
extern const bool8 gTestRunnerHeadless;
|
2023-07-14 11:17:54 +02:00
|
|
|
extern const bool8 gTestRunnerSkipIsFail;
|
2023-05-31 15:38:37 +02:00
|
|
|
|
|
|
|
#if TESTING
|
|
|
|
|
2022-12-24 06:13:42 +01:00
|
|
|
void TestRunner_Battle_RecordAbilityPopUp(u32 battlerId, u32 ability);
|
|
|
|
void TestRunner_Battle_RecordAnimation(u32 animType, u32 animId);
|
|
|
|
void TestRunner_Battle_RecordHP(u32 battlerId, u32 oldHP, u32 newHP);
|
|
|
|
void TestRunner_Battle_RecordMessage(const u8 *message);
|
|
|
|
void TestRunner_Battle_RecordStatus1(u32 battlerId, u32 status1);
|
|
|
|
void TestRunner_Battle_AfterLastTurn(void);
|
|
|
|
|
2023-05-31 15:38:37 +02:00
|
|
|
void TestRunner_Battle_CheckBattleRecordActionType(u32 battlerId, u32 recordIndex, u32 actionType);
|
|
|
|
|
2023-06-03 20:32:54 +02:00
|
|
|
u32 TestRunner_Battle_GetForcedAbility(u32 side, u32 partyIndex);
|
|
|
|
|
2023-05-31 15:38:37 +02:00
|
|
|
#else
|
|
|
|
|
|
|
|
#define TestRunner_Battle_RecordAbilityPopUp(...) (void)0
|
|
|
|
#define TestRunner_Battle_RecordAnimation(...) (void)0
|
|
|
|
#define TestRunner_Battle_RecordHP(...) (void)0
|
|
|
|
#define TestRunner_Battle_RecordMessage(...) (void)0
|
|
|
|
#define TestRunner_Battle_RecordStatus1(...) (void)0
|
|
|
|
#define TestRunner_Battle_AfterLastTurn(...) (void)0
|
|
|
|
|
|
|
|
#define TestRunner_Battle_CheckBattleRecordActionType(...) (void)0
|
|
|
|
|
2023-06-03 20:32:54 +02:00
|
|
|
#define TestRunner_Battle_GetForcedAbility(...) (u32)0
|
|
|
|
|
2023-05-31 15:38:37 +02:00
|
|
|
#endif
|
2022-12-24 06:13:42 +01:00
|
|
|
|
|
|
|
#endif
|