And got things building. Now to clean up the error macro part.

This commit is contained in:
Pietro Gagliardi 2019-06-13 10:43:44 -04:00
parent d54f23c0cc
commit ab82278a30
1 changed files with 2 additions and 3 deletions

View File

@ -70,14 +70,13 @@ static const struct {
testingTest(ControlErrors)
{
struct checkControlErrorsParams p;
uiControlVtable vtable;
uiControlVtable vtableBadSize;
size_t i;
memset(&p, 0, sizeof (struct checkControlErrorsParams));
p.namePlaceholder = "name";
createTestVtable(&vtable);
p.vtablePlaceholder = &vtable;
p.vtablePlaceholder = allocVtable(t);
testingTDefer(t, deferFree, p.vtablePlaceholder);
// TODO osVtablePlaceholder
p.implDataSizePlaceholder = sizeof (struct testImplData);
memset(&vtableBadSize, 0, sizeof (uiControlVtable));