diff options
Diffstat (limited to 'tests/context_tests.h')
-rw-r--r-- | tests/context_tests.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/context_tests.h b/tests/context_tests.h new file mode 100644 index 0000000..1a6907c --- /dev/null +++ b/tests/context_tests.h @@ -0,0 +1,23 @@ +#ifndef CONTEXT_TESTS_H +#define CONTEXT_TESTS_H + +#include <glib.h> +#include "webvicontext.h" + +typedef struct { + WebviCtx handle; + struct WebviContext *context; +} ContextFixture; + +void context_fixture_setup(ContextFixture *fixture, + gconstpointer test_data); +void context_fixture_teardown(ContextFixture *fixture, + gconstpointer test_data); + +void test_context_create(void); +void test_context_template_path(ContextFixture *fixture, + gconstpointer test_data); +void test_context_request_processing(ContextFixture *fixture, + gconstpointer test_data); + +#endif // CONTEXT_TESTS_H |