aswm/test/test_set_up.h

24 lines
446 B
C
Raw Normal View History

#ifndef ASWM_TEST_SET_UP
#define ASWM_TEST_SET_UP
#include "unity.h"
2025-02-01 10:10:56 +00:00
#include "zlog.h"
#include "X11/Xlib.h"
2025-02-01 10:10:56 +00:00
#ifndef ASWM_TEST_DIR
#define ASWM_TEST_DIR "."
#endif
// Extern variables accessible from any test.
// Defined in test_set_up.c
extern char display_name[5];
extern int aswm_pid;
extern Display* test_display;
extern Window test_root;
2025-02-01 10:10:56 +00:00
extern zlog_category_t *test_log;
void set_up_test_logger();
void tear_down_test_logger();
#endif