#include "expat_config.h"
#include "minicheck.h"
#include "chardata.h"
Go to the source code of this file.
|
| #define | XML_COMMON_H |
| |
| #define | XML_FMT_INT_MOD "l" |
| |
| #define | XML_FMT_STR "s" |
| |
| #define | xcstrlen(s) strlen(s) |
| |
| #define | xcstrcmp(s, t) strcmp((s), (t)) |
| |
| #define | xcstrncmp(s, t, n) strncmp((s), (t), (n)) |
| |
| #define | XCS(s) s |
| |
| #define | xml_failure(parser) _xml_failure((parser), __FILE__, __LINE__) |
| |
| #define | expect_failure(text, errorCode, errorMessage) _expect_failure((text), (errorCode), (errorMessage), __FILE__, __LINE__) |
| |
| #define | run_character_check(text, expected) _run_character_check(text, expected, __FILE__, __LINE__) |
| |
| #define | run_attribute_check(text, expected) _run_attribute_check(text, expected, __FILE__, __LINE__) |
| |
| #define | run_ext_character_check(text, test_data, expected) _run_ext_character_check(text, test_data, expected, __FILE__, __LINE__) |
| |
| #define | ALLOC_ALWAYS_SUCCEED (-1) |
| |
| #define | REALLOC_ALWAYS_SUCCEED (-1) |
| |
|
| void | tcase_add_test__ifdef_xml_dtd (TCase *tc, tcase_test_function test) |
| |
| void | tcase_add_test__if_xml_ge (TCase *tc, tcase_test_function test) |
| |
| void | basic_teardown (void) |
| |
| void | _xml_failure (XML_Parser parser, const char *file, int line) |
| |
| enum XML_Status | _XML_Parse_SINGLE_BYTES (XML_Parser parser, const char *s, int len, int isFinal) |
| |
| void | _expect_failure (const char *text, enum XML_Error errorCode, const char *errorMessage, const char *file, int lineno) |
| |
| void | _run_character_check (const char *text, const XML_Char *expected, const char *file, int line) |
| |
| void | _run_attribute_check (const char *text, const XML_Char *expected, const char *file, int line) |
| |
| void | _run_ext_character_check (const char *text, ExtTest *test_data, const XML_Char *expected, const char *file, int line) |
| |
| void * | duff_allocator (size_t size) |
| |
| void * | duff_reallocator (void *ptr, size_t size) |
| |
◆ ALLOC_ALWAYS_SUCCEED
| #define ALLOC_ALWAYS_SUCCEED (-1) |
◆ expect_failure
◆ REALLOC_ALWAYS_SUCCEED
| #define REALLOC_ALWAYS_SUCCEED (-1) |
◆ run_attribute_check
◆ run_character_check
◆ run_ext_character_check
◆ XCS
◆ xcstrcmp
◆ xcstrlen
◆ xcstrncmp
◆ XML_COMMON_H
◆ xml_failure
◆ XML_FMT_INT_MOD
◆ XML_FMT_STR
◆ ExtTest
◆ _expect_failure()
◆ _run_attribute_check()
◆ _run_character_check()
◆ _run_ext_character_check()
◆ _xml_failure()
◆ _XML_Parse_SINGLE_BYTES()
◆ basic_teardown()
| void basic_teardown |
( |
void |
| ) |
|
|
extern |
◆ duff_allocator()
| void * duff_allocator |
( |
size_t |
size | ) |
|
|
extern |
◆ duff_reallocator()
| void * duff_reallocator |
( |
void * |
ptr, |
|
|
size_t |
size |
|
) |
| |
|
extern |
◆ tcase_add_test__if_xml_ge()
◆ tcase_add_test__ifdef_xml_dtd()
◆ g_abortable
◆ g_allocation_count
◆ g_chunkSize
◆ g_parser
◆ g_reallocation_count
◆ g_resumable
◆ get_buffer_test_text
◆ long_cdata_text
◆ long_character_data_text