lumiera_documentation/tests/vessel/say-hello.h
Ichthyostega 3caa5cfb03 Tests: reorganise test folders
This resolves a long-standing issue:
we could not use proper include paths for test-helper code that was defined alongside the tests.

Since some test-helper code must now be relocated into the »Vault«-Layer,
I took the opportunity to finally resolve this annoyance. The solution is two-fold
 * introduce a dedicated test-support library
 * remove the quirks that were necessary to support some plain-C tests
Together, this allows to raise the include-directory by one level,
and then to adjust all folder names so that they match the namespace
2026-03-07 00:56:19 +01:00

22 lines
704 B
C

/** @file say-hello.h
** A mock interface to support testing of the interface system
*/
#ifndef TESTS_INCLUDE_SAY_HELLO_H
#define TESTS_INCLUDE_SAY_HELLO_H
#include "vessel/interface.h"
/** mock interface which can greet in different languages */
LUMIERA_INTERFACE_DECLARE (lumieraorg_testhello, 0,
LUMIERA_INTERFACE_SLOT (void, hello, (void)),
LUMIERA_INTERFACE_SLOT (void, goodbye, (const char*)),
);
/** mock interface to test opening and closing of dependent interfaces */
LUMIERA_INTERFACE_DECLARE (lumieraorg_testtest, 0,
LUMIERA_INTERFACE_SLOT (void, testit, (void)),
);
#endif /*TESTS_INCLUDE_SAY_HELLO_H*/