9 #ifndef luasandbox_test_sandbox_h_ 10 #define luasandbox_test_sandbox_h_ 14 #include "../../luasandbox.h" 18 #ifdef luasandboxtest_EXPORTS 19 #define LSB_TEST_EXPORT __declspec(dllexport) 21 #define LSB_TEST_EXPORT __declspec(dllimport) 25 #define LSB_TEST_EXPORT __attribute__ ((visibility ("default"))) 27 #define LSB_TEST_EXPORT struct lsb_lua_sandbox lsb_lua_sandbox
LSB_TEST_EXPORT const char * lsb_test_output
Global variable to store the test output.
LSB_TEST_EXPORT int lsb_test_process(lsb_lua_sandbox *lsb, double tc)
Function to emulate processing data.
struct lua_State lua_State
LSB_TEST_EXPORT int lsb_test_report(lsb_lua_sandbox *lsb, double tc)
Function to emulate outputting summary data.
LSB_TEST_EXPORT size_t lsb_test_output_len
Global variable storing the length of the current test output string.
LSB_TEST_EXPORT int lsb_test_write_output(lua_State *lua)
Callback for collecting output, places a pointer to the results in the global lsb_test_output variabl...
LSB_TEST_EXPORT lsb_logger lsb_test_logger
Generaly purpose stderr logger.