Files
GTASource/game/tools/SmokeTest.h
expvintl 419f2e4752 init
2025-02-23 17:40:52 +08:00

41 lines
842 B
C++

#ifndef SMOKETEST_H
#define SMOKETEST_H
#if !__FINAL
#include "diag/channel.h"
// Maybe this channel should be declared in another file, but this is good for now. - DW
RAGE_DECLARE_CHANNEL(AssetTest)
#define atDisplayf(fmt,...) RAGE_DISPLAYF(AssetTest,fmt,##__VA_ARGS__)
namespace SmokeTests
{
struct SmokeTestDef
{
const char* pName;
void (*InitFn)();
void (*UpdateFn)();
const char* pDesc;
};
//*********************************************************
// Functions for setting up smoke tests.
void ProcessSmokeTest();
bool HasSmokeTestFinished();
SmokeTestDef* GetSmokeTestDef(const char* pStr);
void DisplaySmokeTestStarted(const char* pStr);
void DisplaySmokeTestFinished();
bool SmokeTestStarted();
void SmokeTestEnd();
extern int g_automatedSmokeTest;
}
#endif // !__FINAL
#endif // SMOKETEST_H