test/harness/testcaseoutput.h
changeset 102 ff0aa9b1397a
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/harness/testcaseoutput.h	Fri Oct 25 11:15:18 2013 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +#ifndef TESTCASE_OUTPUT_H
     1.5 +#define TESTCASE_OUTPUT_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 *contents;
    1.13 +} TestcaseOutput;
    1.14 +
    1.15 +gboolean testcase_output_read(Testcase *testcase,TestcaseOutput *output,
    1.16 +  gchar **contents,gsize *length,GError **error);
    1.17 +gboolean testcase_output_remove(Testcase *testcase,TestcaseOutput *output,
    1.18 +  GError **error);
    1.19 +TestcaseOutput *testcase_output_new(const char *name,const char *contents);
    1.20 +void testcase_output_free(TestcaseOutput *output);
    1.21 +
    1.22 +#endif	/* TESTCASE_OUTPUT_H */