diff options
Diffstat (limited to 'tests/linktemplates_tests.h')
-rw-r--r-- | tests/linktemplates_tests.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/linktemplates_tests.h b/tests/linktemplates_tests.h new file mode 100644 index 0000000..d718d61 --- /dev/null +++ b/tests/linktemplates_tests.h @@ -0,0 +1,23 @@ +#ifndef LINK_TEMPLATES_TESTS_H +#define LINK_TEMPLATES_TESTS_H + +#include <unistd.h> +#include <glib.h> +#include "linktemplates.h" + +typedef struct { + struct LinkTemplates *templates; +} LinkTemplatesFixture; + + +void link_templates_fixture_setup(LinkTemplatesFixture *fixture, + gconstpointer test_data); +void link_templates_fixture_teardown(LinkTemplatesFixture *fixture, + gconstpointer test_data); + +void test_link_templates_load(LinkTemplatesFixture *fixture, + gconstpointer test_data); +void test_link_templates_get(LinkTemplatesFixture *fixture, + gconstpointer test_data); + +#endif // LINK_TEMPLATES_TESTS_H |