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