Included testhooks.h from uipriv.h and test.h, to make things easier to write (we won't have to keep remembering to include it in every file) and to clean up (ditto, but for removal).

This commit is contained in:
Pietro Gagliardi 2020-05-22 16:32:04 -04:00
parent 6fe7c1ef66
commit 8db1d5474b
8 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,5 @@
// 8 june 2019
#include "uipriv.h"
#include "testhooks.h"
struct controlType {
uint32_t id;

View File

@ -1,6 +1,5 @@
// 12 may 2019
#include "uipriv.h"
#include "testhooks.h"
#define internalErrorPrefix "libui internal error"
// TODO add debugging advice?

View File

@ -1,6 +1,5 @@
// 19 april 2019
#include "uipriv.h"
#include "testhooks.h"
enum {
stateUninitialized,

View File

@ -9,6 +9,7 @@
#ifdef uiprivOSHeader
#include uiprivOSHeader
#endif
#include "testhooks.h"
#ifdef __cplusplus
extern "C" {

View File

@ -1,6 +1,5 @@
// 8 june 2019
#include "test.h"
#include "../common/testhooks.h"
static bool vtableNopInit(uiControl *c, void *implData, void *initData)
{

View File

@ -1,7 +1,6 @@
// 28 may 2019
#include "test.h"
#include "thread.h"
#include "../common/testhooks.h"
// Do not put any test cases in this file; they will not be run.

View File

@ -1,7 +1,6 @@
// 10 april 2019
#include "test.h"
#include "thread.h"
#include "../common/testhooks.h"
static void testImplInitFailureFull(const char *file, long line)
{

View File

@ -11,6 +11,7 @@
#ifdef libuiOSHeader
#include libuiOSHeader
#endif
#include "../common/testhooks.h"
#ifdef __cplusplus
extern "C" {