test/harness/testcaseinput.h
author ali <ali@juiblex.co.uk>
Tue Oct 15 09:16:04 2013 +0100 (2013-10-15)
changeset 100 ad92d11d59b8
permissions -rw-r--r--
Fix bug #27: Don't treat [1] as a standalone 1
     1 #ifndef TESTCASE_INPUT_H
     2 #define TESTCASE_INPUT_H
     3 
     4 #include <glib.h>
     5 #include "testcase.h"
     6 
     7 typedef struct {
     8     char *name;
     9     char *name_used;
    10     char *contents;
    11 } TestcaseInput;
    12 
    13 gboolean testcase_input_create(Testcase *testcase,TestcaseInput *input,
    14   GError **error);
    15 gboolean testcase_input_remove(Testcase *testcase,TestcaseInput *input,
    16   GError **error);
    17 TestcaseInput *testcase_input_new(const char *name,const char *contents);
    18 void testcase_input_free(TestcaseInput *input);
    19 
    20 #endif	/* TESTCASE_INPUT_H */