summaryrefslogtreecommitdiff
path: root/tests/linktemplates_tests.h
diff options
context:
space:
mode:
authorAntti Ajanki <antti.ajanki@iki.fi>2013-08-06 09:07:49 +0300
committerAntti Ajanki <antti.ajanki@iki.fi>2013-08-06 09:07:49 +0300
commit7c81286a59639e139ac7e947378be24410701a5e (patch)
tree88e43b758dc2330e8711ebae80eee0039cc57322 /tests/linktemplates_tests.h
downloadvdr-plugin-webvideo-7c81286a59639e139ac7e947378be24410701a5e.tar.gz
vdr-plugin-webvideo-7c81286a59639e139ac7e947378be24410701a5e.tar.bz2
import to vdr-developer repo
Diffstat (limited to 'tests/linktemplates_tests.h')
-rw-r--r--tests/linktemplates_tests.h23
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