test/harness/testcaseinput.h
changeset 25 100bec12f16a
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/harness/testcaseinput.h	Sat Feb 18 19:46:22 2012 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +#ifndef TESTCASE_INPUT_H
     1.5 +#define TESTCASE_INPUT_H
     1.6 +
     1.7 +#include <glib.h>
     1.8 +#include "testcase.h"
     1.9 +
    1.10 +typedef struct {
    1.11 +    char *name;
    1.12 +    char *name_used;
    1.13 +    char *contents;
    1.14 +} TestcaseInput;
    1.15 +
    1.16 +gboolean testcase_input_create(Testcase *testcase,TestcaseInput *input,
    1.17 +  GError **error);
    1.18 +gboolean testcase_input_remove(Testcase *testcase,TestcaseInput *input,
    1.19 +  GError **error);
    1.20 +TestcaseInput *testcase_input_new(const char *name,const char *contents);
    1.21 +void testcase_input_free(TestcaseInput *input);
    1.22 +
    1.23 +#endif	/* TESTCASE_INPUT_H */