And got things building. Now to clean up the error macro part.
This commit is contained in:
parent
d54f23c0cc
commit
ab82278a30
|
@ -70,14 +70,13 @@ static const struct {
|
||||||
testingTest(ControlErrors)
|
testingTest(ControlErrors)
|
||||||
{
|
{
|
||||||
struct checkControlErrorsParams p;
|
struct checkControlErrorsParams p;
|
||||||
uiControlVtable vtable;
|
|
||||||
uiControlVtable vtableBadSize;
|
uiControlVtable vtableBadSize;
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
memset(&p, 0, sizeof (struct checkControlErrorsParams));
|
memset(&p, 0, sizeof (struct checkControlErrorsParams));
|
||||||
p.namePlaceholder = "name";
|
p.namePlaceholder = "name";
|
||||||
createTestVtable(&vtable);
|
p.vtablePlaceholder = allocVtable(t);
|
||||||
p.vtablePlaceholder = &vtable;
|
testingTDefer(t, deferFree, p.vtablePlaceholder);
|
||||||
// TODO osVtablePlaceholder
|
// TODO osVtablePlaceholder
|
||||||
p.implDataSizePlaceholder = sizeof (struct testImplData);
|
p.implDataSizePlaceholder = sizeof (struct testImplData);
|
||||||
memset(&vtableBadSize, 0, sizeof (uiControlVtable));
|
memset(&vtableBadSize, 0, sizeof (uiControlVtable));
|
||||||
|
|
Loading…
Reference in New Issue