Re-added test/events_errors.cpp. Yay C++

This commit is contained in:
Pietro Gagliardi 2020-02-23 15:20:12 -05:00
parent e9be6b9502
commit 48fd34781e
2 changed files with 5 additions and 2 deletions

View File

@ -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);
} }

View File

@ -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',
]) ])