diff -r 000000000000 -r 70cc629ec1e0 test/harness/testcaseoutput.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/harness/testcaseoutput.h Wed Oct 16 22:51:29 2013 +0100 @@ -0,0 +1,19 @@ +#ifndef TESTCASE_OUTPUT_H +#define TESTCASE_OUTPUT_H + +#include +#include "testcase.h" + +typedef struct { + char *name; + char *contents; +} TestcaseOutput; + +gboolean testcase_output_read(Testcase *testcase,TestcaseOutput *output, + gchar **contents,gsize *length,GError **error); +gboolean testcase_output_remove(Testcase *testcase,TestcaseOutput *output, + GError **error); +TestcaseOutput *testcase_output_new(const char *name,const char *contents); +void testcase_output_free(TestcaseOutput *output); + +#endif /* TESTCASE_OUTPUT_H */