24 #ifndef PXR_BASE_TF_REG_TEST_H
25 #define PXR_BASE_TF_REG_TEST_H
106 static int Main(
int argc,
char *argv[]) {
131 int _Main(
int argc,
char *argv[]);
133 void _PrintTestNames();
137 _Hash _functionTable;
149 #define TF_ADD_REGTEST(name) \
150 bool Tf_RegTst##name = TfRegTest::GetInstance().Register(#name, Test_##name)
TF_API_TEMPLATE_CLASS(TfSingleton< TfRegTest >)
bool(* RegFunc)()
Type of a function with no arguments.
static TF_API TfRegTest & GetInstance()
GLuint const GLchar * name
TF_API bool Register(const char *name, RegFunc)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
static int Main(int argc, char *argv[])
bool(* RegFuncWithArgs)(int argc, char *argv[])