test/harness/testcaseinput.h
author ali <ali@juiblex.co.uk>
Sat Oct 05 21:37:31 2013 +0100 (2013-10-05)
changeset 99 783eff3047bc
permissions -rw-r--r--
Fix bug #21: False positive: Opening slanted double-quote, followed by single slanted quote, should be accepted by BL
ali@9
     1
#ifndef TESTCASE_INPUT_H
ali@9
     2
#define TESTCASE_INPUT_H
ali@9
     3
ali@9
     4
#include <glib.h>
ali@9
     5
#include "testcase.h"
ali@9
     6
ali@9
     7
typedef struct {
ali@9
     8
    char *name;
ali@9
     9
    char *name_used;
ali@9
    10
    char *contents;
ali@9
    11
} TestcaseInput;
ali@9
    12
ali@9
    13
gboolean testcase_input_create(Testcase *testcase,TestcaseInput *input,
ali@9
    14
  GError **error);
ali@9
    15
gboolean testcase_input_remove(Testcase *testcase,TestcaseInput *input,
ali@9
    16
  GError **error);
ali@9
    17
TestcaseInput *testcase_input_new(const char *name,const char *contents);
ali@9
    18
void testcase_input_free(TestcaseInput *input);
ali@9
    19
ali@9
    20
#endif	/* TESTCASE_INPUT_H */