libui/test/test.h

12 lines
281 B
C

// 28 april 2019
#include "../ui.h"
#include "testing.h"
#include "timer.h"
// main.c
extern void timeoutMain(testingT *t, void *data);
#define timeout_uiMain(t, timeout, failNowOnError) \
testingRunWithTimeout(t, timeout, \
timeoutMain, NULL, \
"uiMain()", failNowOnError);