diff -r 000000000000 -r d22d8cd4f628 test/harness/testcaseoutput.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/harness/testcaseoutput.h Sun Oct 27 17:01:47 2013 +0000 @@ -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 */