summaryrefslogtreecommitdiff
path: root/tests/linktemplates_tests.h
blob: d718d61a3b58f417e72e6aa2edd1c877eb3d8bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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