Added the missing noinitwrongthread Unix tests.

This commit is contained in:
Pietro Gagliardi 2020-06-02 22:52:56 -04:00
parent 1dd0372593
commit d5c06108d6
3 changed files with 15 additions and 0 deletions

5
test/allcalls_unix.h Normal file
View File

@ -0,0 +1,5 @@
// 28 may 2019
// This file should NOT have include guards as it is intended to be included more than once; see noinitwrongthread_unix.c for details.
allcallsCase(uiUnixControlHandle, NULL)

View File

@ -35,8 +35,12 @@ elif libui_OS == 'haiku'
else
libui_test_sources += files([
'controls_unix.c',
'noinitwrongthread_unix.c',
'window_unix.c',
])
libui_allcalls_headers += files([
'allcalls_unix.h',
])
endif
libui_test_sources_without_cases = [

View File

@ -0,0 +1,6 @@
// 28 may 2019
#include "test_unix.h"
#include "thread.h"
#define allcallsHeader "allcalls_unix.h"
#include "noinitwrongthreadimpl.h"