Re-added test/events_errors.cpp. Yay C++
This commit is contained in:
parent
e9be6b9502
commit
48fd34781e
|
@ -1,6 +1,8 @@
|
||||||
// 10 june 2019
|
// 10 june 2019
|
||||||
#include "test.h"
|
#include "test.h"
|
||||||
|
|
||||||
|
// TODO consider rewriting this in C
|
||||||
|
|
||||||
static void dummyHandler(void *sender, void *args, void *data)
|
static void dummyHandler(void *sender, void *args, void *data)
|
||||||
{
|
{
|
||||||
// do nothing
|
// do nothing
|
||||||
|
@ -306,7 +308,7 @@ static const struct checkErrorCase cases[] = {
|
||||||
{ NULL, NULL, NULL },
|
{ NULL, NULL, NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
testingTest(EventErrors)
|
Test(EventErrors)
|
||||||
{
|
{
|
||||||
checkProgrammerErrors(t, cases);
|
checkProgrammerErrors(cases);
|
||||||
}
|
}
|
|
@ -3,6 +3,7 @@
|
||||||
# Using files() is the cleanest way to ensure the python script below gets the right filenames regardless of how meson sandboxes the command it's running.
|
# Using files() is the cleanest way to ensure the python script below gets the right filenames regardless of how meson sandboxes the command it's running.
|
||||||
libui_test_sources = files([
|
libui_test_sources = files([
|
||||||
'events.c',
|
'events.c',
|
||||||
|
'events_errors.cpp',
|
||||||
'initmain.c',
|
'initmain.c',
|
||||||
'noinitwrongthread.c',
|
'noinitwrongthread.c',
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue