test/harness/testcaseoutput.h
author ali <ali@juiblex.co.uk>
Wed Oct 16 22:51:29 2013 +0100 (2013-10-16)
changeset 104 70cc629ec1e0
permissions -rw-r--r--
Fix bug #28: Don't report ., as double punctuation after "etc" or "&c"
ali@102
     1
#ifndef TESTCASE_OUTPUT_H
ali@102
     2
#define TESTCASE_OUTPUT_H
ali@102
     3
ali@102
     4
#include <glib.h>
ali@102
     5
#include "testcase.h"
ali@102
     6
ali@102
     7
typedef struct {
ali@102
     8
    char *name;
ali@102
     9
    char *contents;
ali@102
    10
} TestcaseOutput;
ali@102
    11
ali@102
    12
gboolean testcase_output_read(Testcase *testcase,TestcaseOutput *output,
ali@102
    13
  gchar **contents,gsize *length,GError **error);
ali@102
    14
gboolean testcase_output_remove(Testcase *testcase,TestcaseOutput *output,
ali@102
    15
  GError **error);
ali@102
    16
TestcaseOutput *testcase_output_new(const char *name,const char *contents);
ali@102
    17
void testcase_output_free(TestcaseOutput *output);
ali@102
    18
ali@102
    19
#endif	/* TESTCASE_OUTPUT_H */