| author | ali <ali@juiblex.co.uk> |
| Sat Oct 05 21:39:10 2013 +0100 (2013-10-05) | |
| changeset 160 | bab7d1b28dea |
| permissions | -rw-r--r-- |
| ali@136 | 1 |
#ifndef TESTCASE_OUTPUT_H |
| ali@136 | 2 |
#define TESTCASE_OUTPUT_H |
| ali@136 | 3 |
|
| ali@136 | 4 |
#include <glib.h> |
| ali@136 | 5 |
#include "testcase.h" |
| ali@136 | 6 |
|
| ali@136 | 7 |
typedef struct {
|
| ali@136 | 8 |
char *name; |
| ali@136 | 9 |
char *contents; |
| ali@136 | 10 |
} TestcaseOutput; |
| ali@136 | 11 |
|
| ali@136 | 12 |
gboolean testcase_output_read(Testcase *testcase,TestcaseOutput *output, |
| ali@136 | 13 |
gchar **contents,gsize *length,GError **error); |
| ali@136 | 14 |
gboolean testcase_output_remove(Testcase *testcase,TestcaseOutput *output, |
| ali@136 | 15 |
GError **error); |
| ali@136 | 16 |
TestcaseOutput *testcase_output_new(const char *name,const char *contents); |
| ali@136 | 17 |
void testcase_output_free(TestcaseOutput *output); |
| ali@136 | 18 |
|
| ali@136 | 19 |
#endif /* TESTCASE_OUTPUT_H */ |