test/harness/testcaseinput.h
author ali <ali@juiblex.co.uk>
Thu Dec 05 10:56:11 2013 +0000 (2013-12-05)
changeset 217 0c0f6373324e
permissions -rw-r--r--
Fix bug #36: Document workaround to prevent Guiguts conversion of utf-8 files passed to Bookloupe
ali@9
     1
#ifndef TESTCASE_INPUT_H
ali@9
     2
#define TESTCASE_INPUT_H
ali@9
     3
ali@9
     4
#include <glib.h>
ali@9
     5
#include "testcase.h"
ali@9
     6
ali@9
     7
typedef struct {
ali@9
     8
    char *name;
ali@9
     9
    char *name_used;
ali@9
    10
    char *contents;
ali@9
    11
} TestcaseInput;
ali@9
    12
ali@9
    13
gboolean testcase_input_create(Testcase *testcase,TestcaseInput *input,
ali@9
    14
  GError **error);
ali@9
    15
gboolean testcase_input_remove(Testcase *testcase,TestcaseInput *input,
ali@9
    16
  GError **error);
ali@9
    17
TestcaseInput *testcase_input_new(const char *name,const char *contents);
ali@9
    18
void testcase_input_free(TestcaseInput *input);
ali@9
    19
ali@9
    20
#endif	/* TESTCASE_INPUT_H */