Apache HTTPD
Classes | Macros | Functions | Variables
basic_tests.c File Reference
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <stdbool.h>
#include "expat_config.h"
#include "expat.h"
#include "internal.h"
#include "minicheck.h"
#include "structdata.h"
#include "common.h"
#include "dummy.h"
#include "handlers.h"
#include "siphash.h"
#include "basic_tests.h"

Go to the source code of this file.

Classes

struct  bom_testdata
 
struct  element_decl_data
 

Macros

#define COLLIDING_HASH_SALT   (unsigned long)SIP_ULL(0xffffffffU, 0xff99fc90U)
 
#define UTF8_LEAD_1   "\x7f" /* 0b01111111 */
 
#define UTF8_LEAD_2   "\xdf" /* 0b11011111 */
 
#define UTF8_LEAD_3   "\xef" /* 0b11101111 */
 
#define UTF8_LEAD_4   "\xf7" /* 0b11110111 */
 
#define UTF8_FOLLOW   "\xbf" /* 0b10111111 */
 
#define A_TO_P_IN_UTF16   "\0A\0B\0C\0D\0E\0F\0G\0H\0I\0J\0K\0L\0M\0N\0O\0P"
 
#define PRE_ERROR_STR   "<doc></"
 
#define POST_ERROR_STR   "wombat></doc>"
 
#define START_ELEMENT   "<e>"
 
#define CDATA_TEXT   "Hello"
 
#define END_ELEMENT   "</e>"
 
#define PARAM_ENTITY_NAME   "pe"
 
#define PARAM_ENTITY_CORE_VALUE   "<!ATTLIST doc att CDATA \"default\">"
 

Functions

static void basic_setup (void)
 
static void test_nul_byte (void)
 
static void test_u0000_char (void)
 
static void test_siphash_self (void)
 
static void test_siphash_spec (void)
 
static void test_bom_utf8 (void)
 
static void test_bom_utf16_be (void)
 
static void test_bom_utf16_le (void)
 
static void test_nobom_utf16_le (void)
 
static void test_hash_collision (void)
 
static void test_danish_latin1 (void)
 
static void test_french_charref_hexidecimal (void)
 
static void test_french_charref_decimal (void)
 
static void test_french_latin1 (void)
 
static void test_french_utf8 (void)
 
static void test_utf8_false_rejection (void)
 
static void test_illegal_utf8 (void)
 
static void test_utf8_auto_align (void)
 
static void test_utf16 (void)
 
static void test_utf16_le_epilog_newline (void)
 
static void test_not_utf16 (void)
 
static void test_bad_encoding (void)
 
static void test_latin1_umlauts (void)
 
static void test_long_utf8_character (void)
 
static void test_long_latin1_attribute (void)
 
static void test_long_ascii_attribute (void)
 
static void test_line_number_after_parse (void)
 
static void test_column_number_after_parse (void)
 
static void test_line_and_column_numbers_inside_handlers (void)
 
static void test_line_number_after_error (void)
 
static void test_column_number_after_error (void)
 
static void test_really_long_lines (void)
 
static void test_really_long_encoded_lines (void)
 
static void test_end_element_events (void)
 
static int is_whitespace_normalized (const XML_Char *s, int is_cdata)
 
static void test_helper_is_whitespace_normalized (void)
 
static void XMLCALL check_attr_contains_normalized_whitespace (void *userData, const XML_Char *name, const XML_Char **atts)
 
static void test_attr_whitespace_normalization (void)
 
static void test_xmldecl_misplaced (void)
 
static void test_xmldecl_invalid (void)
 
static void test_xmldecl_missing_attr (void)
 
static void test_xmldecl_missing_value (void)
 
static void test_unknown_encoding_internal_entity (void)
 
static void test_unrecognised_encoding_internal_entity (void)
 
static void test_ext_entity_set_encoding (void)
 
static void test_ext_entity_no_handler (void)
 
static void test_ext_entity_set_bom (void)
 
static void test_ext_entity_bad_encoding (void)
 
static void test_ext_entity_bad_encoding_2 (void)
 
static void test_wfc_undeclared_entity_unread_external_subset (void)
 
static void test_wfc_undeclared_entity_no_external_subset (void)
 
static void test_wfc_undeclared_entity_standalone (void)
 
static void test_wfc_undeclared_entity_with_external_subset_standalone (void)
 
static void test_entity_with_external_subset_unless_standalone (void)
 
static void test_wfc_undeclared_entity_with_external_subset (void)
 
static void test_not_standalone_handler_reject (void)
 
static void test_not_standalone_handler_accept (void)
 
static void test_wfc_no_recursive_entity_refs (void)
 
static void test_recursive_external_parameter_entity_2 (void)
 
static void test_ext_entity_invalid_parse (void)
 
static void test_dtd_default_handling (void)
 
static void test_dtd_attr_handling (void)
 
static void test_empty_ns_without_namespaces (void)
 
static void test_ns_in_attribute_default_without_namespaces (void)
 
static void test_stop_parser_between_char_data_calls (void)
 
static void test_suspend_parser_between_char_data_calls (void)
 
static void test_repeated_stop_parser_between_char_data_calls (void)
 
static void test_good_cdata_ascii (void)
 
static void test_good_cdata_utf16 (void)
 
static void test_good_cdata_utf16_le (void)
 
static void test_long_cdata_utf16 (void)
 
static void test_multichar_cdata_utf16 (void)
 
static void test_utf16_bad_surrogate_pair (void)
 
static void test_bad_cdata (void)
 
static void test_bad_cdata_utf16 (void)
 
static void test_stop_parser_between_cdata_calls (void)
 
static void test_suspend_parser_between_cdata_calls (void)
 
static void test_memory_allocation (void)
 
static void test_default_current (void)
 
static void test_dtd_elements (void)
 
static void XMLCALL element_decl_check_model (void *userData, const XML_Char *name, XML_Content *model)
 
static void test_dtd_elements_nesting (void)
 
static void test_set_foreign_dtd (void)
 
static void test_foreign_dtd_not_standalone (void)
 
static void test_invalid_foreign_dtd (void)
 
static void test_foreign_dtd_with_doctype (void)
 
static void test_foreign_dtd_without_external_subset (void)
 
static void test_empty_foreign_dtd (void)
 
static void test_set_base (void)
 
static void test_attributes (void)
 
static void test_reset_in_entity (void)
 
static void test_resume_invalid_parse (void)
 
static void test_resume_resuspended (void)
 
static void test_cdata_default (void)
 
static void test_subordinate_reset (void)
 
static void test_subordinate_suspend (void)
 
static void test_subordinate_xdecl_suspend (void)
 
static void test_subordinate_xdecl_abort (void)
 
static void test_ext_entity_invalid_suspended_parse (void)
 
static void test_explicit_encoding (void)
 
static void test_trailing_cr (void)
 
static void test_ext_entity_trailing_cr (void)
 
static void test_trailing_rsqb (void)
 
static void test_ext_entity_trailing_rsqb (void)
 
static void test_ext_entity_good_cdata (void)
 
static void test_user_parameters (void)
 
static void test_ext_entity_ref_parameter (void)
 
static void test_empty_parse (void)
 
static void test_negative_len_parse (void)
 
static void test_negative_len_parse_buffer (void)
 
static enum XML_Status get_feature (enum XML_FeatureEnum feature_id, long *presult)
 
static void test_get_buffer_1 (void)
 
static void test_get_buffer_2 (void)
 
static void test_buffer_can_grow_to_max (void)
 
static void test_getbuffer_allocates_on_zero_len (void)
 
static void test_byte_info_at_end (void)
 
static void test_byte_info_at_error (void)
 
static void test_byte_info_at_cdata (void)
 
static void test_predefined_entities (void)
 
static void test_invalid_tag_in_dtd (void)
 
static void test_not_predefined_entities (void)
 
static void test_ignore_section (void)
 
static void test_ignore_section_utf16 (void)
 
static void test_ignore_section_utf16_be (void)
 
static void test_bad_ignore_section (void)
 
static int XMLCALL external_bom_checker (XML_Parser parser, const XML_Char *context, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId)
 
static void test_external_bom_consumed (void)
 
static void test_external_entity_values (void)
 
static void test_ext_entity_not_standalone (void)
 
static void test_ext_entity_value_abort (void)
 
static void test_bad_public_doctype (void)
 
static void test_attribute_enum_value (void)
 
static void test_predefined_entity_redefinition (void)
 
static void test_dtd_stop_processing (void)
 
static void test_public_notation_no_sysid (void)
 
static void test_nested_groups (void)
 
static void test_group_choice (void)
 
static void test_standalone_parameter_entity (void)
 
static void test_skipped_parameter_entity (void)
 
static void test_recursive_external_parameter_entity (void)
 
static void test_undefined_ext_entity_in_external_dtd (void)
 
static void test_suspend_xdecl (void)
 
static void test_abort_epilog (void)
 
static void test_abort_epilog_2 (void)
 
static void test_suspend_epilog (void)
 
static void test_suspend_in_sole_empty_tag (void)
 
static void test_unfinished_epilog (void)
 
static void test_partial_char_in_epilog (void)
 
static void test_suspend_resume_internal_entity (void)
 
static void test_suspend_resume_internal_entity_issue_629 (void)
 
static void test_resume_entity_with_syntax_error (void)
 
static void test_suspend_resume_parameter_entity (void)
 
static void test_restart_on_error (void)
 
static void test_reject_lt_in_attribute_value (void)
 
static void test_reject_unfinished_param_in_att_value (void)
 
static void test_trailing_cr_in_att_value (void)
 
static void test_standalone_internal_entity (void)
 
static void test_skipped_external_entity (void)
 
static void test_skipped_null_loaded_ext_entity (void)
 
static void test_skipped_unloaded_ext_entity (void)
 
static void test_param_entity_with_trailing_cr (void)
 
static void test_invalid_character_entity (void)
 
static void test_invalid_character_entity_2 (void)
 
static void test_invalid_character_entity_3 (void)
 
static void test_invalid_character_entity_4 (void)
 
static void test_pi_handled_in_default (void)
 
static void test_comment_handled_in_default (void)
 
static void test_pi_yml (void)
 
static void test_pi_xnl (void)
 
static void test_pi_xmm (void)
 
static void test_utf16_pi (void)
 
static void test_utf16_be_pi (void)
 
static void test_utf16_be_comment (void)
 
static void test_utf16_le_comment (void)
 
static void test_missing_encoding_conversion_fn (void)
 
static void test_failing_encoding_conversion_fn (void)
 
static void test_unknown_encoding_success (void)
 
static void test_unknown_encoding_bad_name (void)
 
static void test_unknown_encoding_bad_name_2 (void)
 
static void test_unknown_encoding_long_name_1 (void)
 
static void test_unknown_encoding_long_name_2 (void)
 
static void test_invalid_unknown_encoding (void)
 
static void test_unknown_ascii_encoding_ok (void)
 
static void test_unknown_ascii_encoding_fail (void)
 
static void test_unknown_encoding_invalid_length (void)
 
static void test_unknown_encoding_invalid_topbit (void)
 
static void test_unknown_encoding_invalid_surrogate (void)
 
static void test_unknown_encoding_invalid_high (void)
 
static void test_unknown_encoding_invalid_attr_value (void)
 
static void test_ext_entity_latin1_utf16le_bom (void)
 
static void test_ext_entity_latin1_utf16be_bom (void)
 
static void test_ext_entity_latin1_utf16le_bom2 (void)
 
static void test_ext_entity_latin1_utf16be_bom2 (void)
 
static void test_ext_entity_utf16_be (void)
 
static void test_ext_entity_utf16_le (void)
 
static void test_ext_entity_utf16_unknown (void)
 
static void test_ext_entity_utf8_non_bom (void)
 
static void test_utf8_in_cdata_section (void)
 
static void test_utf8_in_cdata_section_2 (void)
 
static void test_utf8_in_start_tags (void)
 
static void test_trailing_spaces_in_elements (void)
 
static void test_utf16_attribute (void)
 
static void test_utf16_second_attr (void)
 
static void test_attr_after_solidus (void)
 
static void test_utf16_pe (void)
 
static void test_bad_attr_desc_keyword (void)
 
static void test_bad_attr_desc_keyword_utf16 (void)
 
static void test_bad_doctype (void)
 
static void test_bad_doctype_utf8 (void)
 
static void test_bad_doctype_utf16 (void)
 
static void test_bad_doctype_plus (void)
 
static void test_bad_doctype_star (void)
 
static void test_bad_doctype_query (void)
 
static void test_unknown_encoding_bad_ignore (void)
 
static void test_entity_in_utf16_be_attr (void)
 
static void test_entity_in_utf16_le_attr (void)
 
static void test_entity_public_utf16_be (void)
 
static void test_entity_public_utf16_le (void)
 
static void test_short_doctype (void)
 
static void test_short_doctype_2 (void)
 
static void test_short_doctype_3 (void)
 
static void test_long_doctype (void)
 
static void test_bad_entity (void)
 
static void test_bad_entity_2 (void)
 
static void test_bad_entity_3 (void)
 
static void test_bad_entity_4 (void)
 
static void test_bad_notation (void)
 
static void test_default_doctype_handler (void)
 
static void test_empty_element_abort (void)
 
static void test_pool_integrity_with_unfinished_attr (void)
 
static void test_nested_entity_suspend (void)
 
static void test_big_tokens_scale_linearly (void)
 
static void test_set_reparse_deferral (void)
 
static void element_decl_counter (void *userData, const XML_Char *name, XML_Content *model)
 
static int external_inherited_parser (XML_Parser p, const XML_Char *context, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId)
 
static void test_reparse_deferral_is_inherited (void)
 
static void test_set_reparse_deferral_on_null_parser (void)
 
static void test_set_reparse_deferral_on_the_fly (void)
 
static void test_set_bad_reparse_option (void)
 
static void * counting_realloc (void *ptr, size_t size)
 
static void * counting_malloc (size_t size)
 
static void test_bypass_heuristic_when_close_to_bufsize (void)
 
static void test_varying_buffer_fills (void)
 
void make_basic_test_case (Suite *s)
 

Variables

static size_t g_totalAlloc = 0
 
static size_t g_biggestAlloc = 0
 

Macro Definition Documentation

◆ A_TO_P_IN_UTF16

#define A_TO_P_IN_UTF16   "\0A\0B\0C\0D\0E\0F\0G\0H\0I\0J\0K\0L\0M\0N\0O\0P"

Definition at line 1551 of file basic_tests.c.

◆ CDATA_TEXT

#define CDATA_TEXT   "Hello"

Definition at line 3073 of file basic_tests.c.

◆ COLLIDING_HASH_SALT

#define COLLIDING_HASH_SALT   (unsigned long)SIP_ULL(0xffffffffU, 0xff99fc90U)

◆ END_ELEMENT

#define END_ELEMENT   "</e>"

Definition at line 3074 of file basic_tests.c.

◆ PARAM_ENTITY_CORE_VALUE

#define PARAM_ENTITY_CORE_VALUE   "<!ATTLIST doc att CDATA \"default\">"

◆ PARAM_ENTITY_NAME

#define PARAM_ENTITY_NAME   "pe"

◆ POST_ERROR_STR

#define POST_ERROR_STR   "wombat></doc>"

Definition at line 3055 of file basic_tests.c.

◆ PRE_ERROR_STR

#define PRE_ERROR_STR   "<doc></"

Definition at line 3054 of file basic_tests.c.

◆ START_ELEMENT

#define START_ELEMENT   "<e>"

Definition at line 3072 of file basic_tests.c.

◆ UTF8_FOLLOW

#define UTF8_FOLLOW   "\xbf" /* 0b10111111 */

Definition at line 319 of file basic_tests.c.

◆ UTF8_LEAD_1

#define UTF8_LEAD_1   "\x7f" /* 0b01111111 */

Definition at line 315 of file basic_tests.c.

◆ UTF8_LEAD_2

#define UTF8_LEAD_2   "\xdf" /* 0b11011111 */

Definition at line 316 of file basic_tests.c.

◆ UTF8_LEAD_3

#define UTF8_LEAD_3   "\xef" /* 0b11101111 */

Definition at line 317 of file basic_tests.c.

◆ UTF8_LEAD_4

#define UTF8_LEAD_4   "\xf7" /* 0b11110111 */

Definition at line 318 of file basic_tests.c.

Function Documentation

◆ basic_setup()

static void basic_setup ( void  )
static

Definition at line 71 of file basic_tests.c.

◆ check_attr_contains_normalized_whitespace()

static void XMLCALL check_attr_contains_normalized_whitespace ( void *  userData,
const XML_Char name,
const XML_Char **  atts 
)
static

Definition at line 871 of file basic_tests.c.

◆ counting_malloc()

static void * counting_malloc ( size_t  size)
static

Definition at line 5679 of file basic_tests.c.

◆ counting_realloc()

static void * counting_realloc ( void *  ptr,
size_t  size 
)
static

Definition at line 5670 of file basic_tests.c.

◆ element_decl_check_model()

static void XMLCALL element_decl_check_model ( void *  userData,
const XML_Char name,
XML_Content model 
)
static

Definition at line 2111 of file basic_tests.c.

◆ element_decl_counter()

static void element_decl_counter ( void *  userData,
const XML_Char name,
XML_Content model 
)
static

Definition at line 5474 of file basic_tests.c.

◆ external_bom_checker()

static int XMLCALL external_bom_checker ( XML_Parser  parser,
const XML_Char context,
const XML_Char base,
const XML_Char systemId,
const XML_Char publicId 
)
static

Definition at line 3270 of file basic_tests.c.

◆ external_inherited_parser()

static int external_inherited_parser ( XML_Parser  p,
const XML_Char context,
const XML_Char base,
const XML_Char systemId,
const XML_Char publicId 
)
static

Definition at line 5482 of file basic_tests.c.

◆ get_feature()

static enum XML_Status get_feature ( enum XML_FeatureEnum  feature_id,
long presult 
)
static

Definition at line 2873 of file basic_tests.c.

◆ is_whitespace_normalized()

static int is_whitespace_normalized ( const XML_Char s,
int  is_cdata 
)
static

Definition at line 821 of file basic_tests.c.

◆ make_basic_test_case()

void make_basic_test_case ( Suite s)

Definition at line 5908 of file basic_tests.c.

◆ test_abort_epilog()

static void test_abort_epilog ( void  )
static

Definition at line 3652 of file basic_tests.c.

◆ test_abort_epilog_2()

static void test_abort_epilog_2 ( void  )
static

Definition at line 3668 of file basic_tests.c.

◆ test_attr_after_solidus()

static void test_attr_after_solidus ( void  )
static

Definition at line 4868 of file basic_tests.c.

◆ test_attr_whitespace_normalization()

static void test_attr_whitespace_normalization ( void  )
static

Definition at line 894 of file basic_tests.c.

◆ test_attribute_enum_value()

static void test_attribute_enum_value ( void  )
static

Definition at line 3425 of file basic_tests.c.

◆ test_attributes()

static void test_attributes ( void  )
static

Definition at line 2341 of file basic_tests.c.

◆ test_bad_attr_desc_keyword()

static void test_bad_attr_desc_keyword ( void  )
static

Definition at line 4911 of file basic_tests.c.

◆ test_bad_attr_desc_keyword_utf16()

static void test_bad_attr_desc_keyword_utf16 ( void  )
static

Definition at line 4926 of file basic_tests.c.

◆ test_bad_cdata()

static void test_bad_cdata ( void  )
static

Definition at line 1691 of file basic_tests.c.

◆ test_bad_cdata_utf16()

static void test_bad_cdata_utf16 ( void  )
static

Definition at line 1747 of file basic_tests.c.

◆ test_bad_doctype()

static void test_bad_doctype ( void  )
static

Definition at line 4951 of file basic_tests.c.

◆ test_bad_doctype_plus()

static void test_bad_doctype_plus ( void  )
static

Definition at line 4988 of file basic_tests.c.

◆ test_bad_doctype_query()

static void test_bad_doctype_query ( void  )
static

Definition at line 5006 of file basic_tests.c.

◆ test_bad_doctype_star()

static void test_bad_doctype_star ( void  )
static

Definition at line 4997 of file basic_tests.c.

◆ test_bad_doctype_utf16()

static void test_bad_doctype_utf16 ( void  )
static

Definition at line 4969 of file basic_tests.c.

◆ test_bad_doctype_utf8()

static void test_bad_doctype_utf8 ( void  )
static

Definition at line 4961 of file basic_tests.c.

◆ test_bad_encoding()

static void test_bad_encoding ( void  )
static

Definition at line 441 of file basic_tests.c.

◆ test_bad_entity()

static void test_bad_entity ( void  )
static

Definition at line 5170 of file basic_tests.c.

◆ test_bad_entity_2()

static void test_bad_entity_2 ( void  )
static

Definition at line 5181 of file basic_tests.c.

◆ test_bad_entity_3()

static void test_bad_entity_3 ( void  )
static

Definition at line 5191 of file basic_tests.c.

◆ test_bad_entity_4()

static void test_bad_entity_4 ( void  )
static

Definition at line 5201 of file basic_tests.c.

◆ test_bad_ignore_section()

static void test_bad_ignore_section ( void  )
static

Definition at line 3237 of file basic_tests.c.

◆ test_bad_notation()

static void test_bad_notation ( void  )
static

Definition at line 5211 of file basic_tests.c.

◆ test_bad_public_doctype()

static void test_bad_public_doctype ( void  )
static

Definition at line 3412 of file basic_tests.c.

◆ test_big_tokens_scale_linearly()

static void test_big_tokens_scale_linearly ( void  )
static

Definition at line 5312 of file basic_tests.c.

◆ test_bom_utf16_be()

static void test_bom_utf16_be ( void  )
static

Definition at line 145 of file basic_tests.c.

◆ test_bom_utf16_le()

static void test_bom_utf16_le ( void  )
static

Definition at line 154 of file basic_tests.c.

◆ test_bom_utf8()

static void test_bom_utf8 ( void  )
static

Definition at line 135 of file basic_tests.c.

◆ test_buffer_can_grow_to_max()

static void test_buffer_can_grow_to_max ( void  )
static

Definition at line 2976 of file basic_tests.c.

◆ test_bypass_heuristic_when_close_to_bufsize()

static void test_bypass_heuristic_when_close_to_bufsize ( void  )
static

Definition at line 5683 of file basic_tests.c.

◆ test_byte_info_at_cdata()

static void test_byte_info_at_cdata ( void  )
static

Definition at line 3075 of file basic_tests.c.

◆ test_byte_info_at_end()

static void test_byte_info_at_end ( void  )
static

Definition at line 3036 of file basic_tests.c.

◆ test_byte_info_at_error()

static void test_byte_info_at_error ( void  )
static

Definition at line 3056 of file basic_tests.c.

◆ test_cdata_default()

static void test_cdata_default ( void  )
static

Definition at line 2439 of file basic_tests.c.

◆ test_column_number_after_error()

static void test_column_number_after_error ( void  )
static

Definition at line 690 of file basic_tests.c.

◆ test_column_number_after_parse()

static void test_column_number_after_parse ( void  )
static

Definition at line 620 of file basic_tests.c.

◆ test_comment_handled_in_default()

static void test_comment_handled_in_default ( void  )
static

Definition at line 4096 of file basic_tests.c.

◆ test_danish_latin1()

static void test_danish_latin1 ( void  )
static

Definition at line 207 of file basic_tests.c.

◆ test_default_current()

static void test_default_current ( void  )
static

Definition at line 1884 of file basic_tests.c.

◆ test_default_doctype_handler()

static void test_default_doctype_handler ( void  )
static

Definition at line 5222 of file basic_tests.c.

◆ test_dtd_attr_handling()

static void test_dtd_attr_handling ( void  )
static

Definition at line 1303 of file basic_tests.c.

◆ test_dtd_default_handling()

static void test_dtd_default_handling ( void  )
static

Definition at line 1277 of file basic_tests.c.

◆ test_dtd_elements()

static void test_dtd_elements ( void  )
static

Definition at line 2096 of file basic_tests.c.

◆ test_dtd_elements_nesting()

static void test_dtd_elements_nesting ( void  )
static

Definition at line 2170 of file basic_tests.c.

◆ test_dtd_stop_processing()

static void test_dtd_stop_processing ( void  )
static

Definition at line 3462 of file basic_tests.c.

◆ test_empty_element_abort()

static void test_empty_element_abort ( void  )
static

Definition at line 5244 of file basic_tests.c.

◆ test_empty_foreign_dtd()

static void test_empty_foreign_dtd ( void  )
static

Definition at line 2310 of file basic_tests.c.

◆ test_empty_ns_without_namespaces()

static void test_empty_ns_without_namespaces ( void  )
static

Definition at line 1358 of file basic_tests.c.

◆ test_empty_parse()

static void test_empty_parse ( void  )
static

Definition at line 2786 of file basic_tests.c.

◆ test_end_element_events()

static void test_end_element_events ( void  )
static

Definition at line 792 of file basic_tests.c.

◆ test_entity_in_utf16_be_attr()

static void test_entity_in_utf16_be_attr ( void  )
static

Definition at line 5032 of file basic_tests.c.

◆ test_entity_in_utf16_le_attr()

static void test_entity_in_utf16_le_attr ( void  )
static

Definition at line 5054 of file basic_tests.c.

◆ test_entity_public_utf16_be()

static void test_entity_public_utf16_be ( void  )
static

Definition at line 5076 of file basic_tests.c.

◆ test_entity_public_utf16_le()

static void test_entity_public_utf16_le ( void  )
static

Definition at line 5108 of file basic_tests.c.

◆ test_entity_with_external_subset_unless_standalone()

static void test_entity_with_external_subset_unless_standalone ( void  )
static

Definition at line 1122 of file basic_tests.c.

◆ test_explicit_encoding()

static void test_explicit_encoding ( void  )
static

Definition at line 2548 of file basic_tests.c.

◆ test_ext_entity_bad_encoding()

static void test_ext_entity_bad_encoding ( void  )
static

Definition at line 1032 of file basic_tests.c.

◆ test_ext_entity_bad_encoding_2()

static void test_ext_entity_bad_encoding_2 ( void  )
static

Definition at line 1049 of file basic_tests.c.

◆ test_ext_entity_good_cdata()

static void test_ext_entity_good_cdata ( void  )
static

Definition at line 2696 of file basic_tests.c.

◆ test_ext_entity_invalid_parse()

static void test_ext_entity_invalid_parse ( void  )
static

Definition at line 1249 of file basic_tests.c.

◆ test_ext_entity_invalid_suspended_parse()

static void test_ext_entity_invalid_suspended_parse ( void  )
static

Definition at line 2519 of file basic_tests.c.

◆ test_ext_entity_latin1_utf16be_bom()

static void test_ext_entity_latin1_utf16be_bom ( void  )
static

Definition at line 4473 of file basic_tests.c.

◆ test_ext_entity_latin1_utf16be_bom2()

static void test_ext_entity_latin1_utf16be_bom2 ( void  )
static

Definition at line 4539 of file basic_tests.c.

◆ test_ext_entity_latin1_utf16le_bom()

static void test_ext_entity_latin1_utf16le_bom ( void  )
static

Definition at line 4442 of file basic_tests.c.

◆ test_ext_entity_latin1_utf16le_bom2()

static void test_ext_entity_latin1_utf16le_bom2 ( void  )
static

Definition at line 4508 of file basic_tests.c.

◆ test_ext_entity_no_handler()

static void test_ext_entity_no_handler ( void  )
static

Definition at line 999 of file basic_tests.c.

◆ test_ext_entity_not_standalone()

static void test_ext_entity_not_standalone ( void  )
static

Definition at line 3388 of file basic_tests.c.

◆ test_ext_entity_ref_parameter()

static void test_ext_entity_ref_parameter ( void  )
static

Definition at line 2757 of file basic_tests.c.

◆ test_ext_entity_set_bom()

static void test_ext_entity_set_bom ( void  )
static

Definition at line 1011 of file basic_tests.c.

◆ test_ext_entity_set_encoding()

static void test_ext_entity_set_encoding ( void  )
static

Definition at line 977 of file basic_tests.c.

◆ test_ext_entity_trailing_cr()

static void test_ext_entity_trailing_cr ( void  )
static

Definition at line 2602 of file basic_tests.c.

◆ test_ext_entity_trailing_rsqb()

static void test_ext_entity_trailing_rsqb ( void  )
static

Definition at line 2676 of file basic_tests.c.

◆ test_ext_entity_utf16_be()

static void test_ext_entity_utf16_be ( void  )
static

Definition at line 4571 of file basic_tests.c.

◆ test_ext_entity_utf16_le()

static void test_ext_entity_utf16_le ( void  )
static

Definition at line 4600 of file basic_tests.c.

◆ test_ext_entity_utf16_unknown()

static void test_ext_entity_utf16_unknown ( void  )
static

Definition at line 4635 of file basic_tests.c.

◆ test_ext_entity_utf8_non_bom()

static void test_ext_entity_utf8_non_bom ( void  )
static

Definition at line 4652 of file basic_tests.c.

◆ test_ext_entity_value_abort()

static void test_ext_entity_value_abort ( void  )
static

Definition at line 3399 of file basic_tests.c.

◆ test_external_bom_consumed()

static void test_external_bom_consumed ( void  )
static

Definition at line 3311 of file basic_tests.c.

◆ test_external_entity_values()

static void test_external_entity_values ( void  )
static

Definition at line 3343 of file basic_tests.c.

◆ test_failing_encoding_conversion_fn()

static void test_failing_encoding_conversion_fn ( void  )
static

Definition at line 4267 of file basic_tests.c.

◆ test_foreign_dtd_not_standalone()

static void test_foreign_dtd_not_standalone ( void  )
static

Definition at line 2226 of file basic_tests.c.

◆ test_foreign_dtd_with_doctype()

static void test_foreign_dtd_with_doctype ( void  )
static

Definition at line 2259 of file basic_tests.c.

◆ test_foreign_dtd_without_external_subset()

static void test_foreign_dtd_without_external_subset ( void  )
static

Definition at line 2296 of file basic_tests.c.

◆ test_french_charref_decimal()

static void test_french_charref_decimal ( void  )
static

Definition at line 235 of file basic_tests.c.

◆ test_french_charref_hexidecimal()

static void test_french_charref_hexidecimal ( void  )
static

Definition at line 222 of file basic_tests.c.

◆ test_french_latin1()

static void test_french_latin1 ( void  )
static

Definition at line 248 of file basic_tests.c.

◆ test_french_utf8()

static void test_french_utf8 ( void  )
static

Definition at line 261 of file basic_tests.c.

◆ test_get_buffer_1()

static void test_get_buffer_1 ( void  )
static

Definition at line 2888 of file basic_tests.c.

◆ test_get_buffer_2()

static void test_get_buffer_2 ( void  )
static

Definition at line 2931 of file basic_tests.c.

◆ test_getbuffer_allocates_on_zero_len()

static void test_getbuffer_allocates_on_zero_len ( void  )
static

Definition at line 3021 of file basic_tests.c.

◆ test_good_cdata_ascii()

static void test_good_cdata_ascii ( void  )
static

Definition at line 1463 of file basic_tests.c.

◆ test_good_cdata_utf16()

static void test_good_cdata_utf16 ( void  )
static

Definition at line 1494 of file basic_tests.c.

◆ test_good_cdata_utf16_le()

static void test_good_cdata_utf16_le ( void  )
static

Definition at line 1521 of file basic_tests.c.

◆ test_group_choice()

static void test_group_choice ( void  )
static

Definition at line 3522 of file basic_tests.c.

◆ test_hash_collision()

static void test_hash_collision ( void  )
static

Definition at line 178 of file basic_tests.c.

◆ test_helper_is_whitespace_normalized()

static void test_helper_is_whitespace_normalized ( void  )
static

Definition at line 847 of file basic_tests.c.

◆ test_ignore_section()

static void test_ignore_section ( void  )
static

Definition at line 3157 of file basic_tests.c.

◆ test_ignore_section_utf16()

static void test_ignore_section_utf16 ( void  )
static

Definition at line 3181 of file basic_tests.c.

◆ test_ignore_section_utf16_be()

static void test_ignore_section_utf16_be ( void  )
static

Definition at line 3208 of file basic_tests.c.

◆ test_illegal_utf8()

static void test_illegal_utf8 ( void  )
static

Definition at line 294 of file basic_tests.c.

◆ test_invalid_character_entity()

static void test_invalid_character_entity ( void  )
static

Definition at line 4024 of file basic_tests.c.

◆ test_invalid_character_entity_2()

static void test_invalid_character_entity_2 ( void  )
static

Definition at line 4035 of file basic_tests.c.

◆ test_invalid_character_entity_3()

static void test_invalid_character_entity_3 ( void  )
static

Definition at line 4046 of file basic_tests.c.

◆ test_invalid_character_entity_4()

static void test_invalid_character_entity_4 ( void  )
static

Definition at line 4068 of file basic_tests.c.

◆ test_invalid_foreign_dtd()

static void test_invalid_foreign_dtd ( void  )
static

Definition at line 2243 of file basic_tests.c.

◆ test_invalid_tag_in_dtd()

static void test_invalid_tag_in_dtd ( void  )
static

Definition at line 3130 of file basic_tests.c.

◆ test_invalid_unknown_encoding()

static void test_invalid_unknown_encoding ( void  )
static

Definition at line 4359 of file basic_tests.c.

◆ test_latin1_umlauts()

static void test_latin1_umlauts ( void  )
static

Definition at line 452 of file basic_tests.c.

◆ test_line_and_column_numbers_inside_handlers()

static void test_line_and_column_numbers_inside_handlers ( void  )
static

Definition at line 638 of file basic_tests.c.

◆ test_line_number_after_error()

static void test_line_number_after_error ( void  )
static

Definition at line 670 of file basic_tests.c.

◆ test_line_number_after_parse()

static void test_line_number_after_parse ( void  )
static

Definition at line 600 of file basic_tests.c.

◆ test_long_ascii_attribute()

static void test_long_ascii_attribute ( void  )
static

Definition at line 551 of file basic_tests.c.

◆ test_long_cdata_utf16()

static void test_long_cdata_utf16 ( void  )
static

Definition at line 1553 of file basic_tests.c.

◆ test_long_doctype()

static void test_long_doctype ( void  )
static

Definition at line 5164 of file basic_tests.c.

◆ test_long_latin1_attribute()

static void test_long_latin1_attribute ( void  )
static

Definition at line 494 of file basic_tests.c.

◆ test_long_utf8_character()

static void test_long_utf8_character ( void  )
static

Definition at line 481 of file basic_tests.c.

◆ test_memory_allocation()

static void test_memory_allocation ( void  )
static

Definition at line 1850 of file basic_tests.c.

◆ test_missing_encoding_conversion_fn()

static void test_missing_encoding_conversion_fn ( void  )
static

Definition at line 4251 of file basic_tests.c.

◆ test_multichar_cdata_utf16()

static void test_multichar_cdata_utf16 ( void  )
static

Definition at line 1624 of file basic_tests.c.

◆ test_negative_len_parse()

static void test_negative_len_parse ( void  )
static

Definition at line 2817 of file basic_tests.c.

◆ test_negative_len_parse_buffer()

static void test_negative_len_parse_buffer ( void  )
static

Definition at line 2841 of file basic_tests.c.

◆ test_nested_entity_suspend()

static void test_nested_entity_suspend ( void  )
static

Definition at line 5281 of file basic_tests.c.

◆ test_nested_groups()

static void test_nested_groups ( void  )
static

Definition at line 3495 of file basic_tests.c.

◆ test_nobom_utf16_le()

static void test_nobom_utf16_le ( void  )
static

Definition at line 163 of file basic_tests.c.

◆ test_not_predefined_entities()

static void test_not_predefined_entities ( void  )
static

Definition at line 3142 of file basic_tests.c.

◆ test_not_standalone_handler_accept()

static void test_not_standalone_handler_accept ( void  )
static

Definition at line 1176 of file basic_tests.c.

◆ test_not_standalone_handler_reject()

static void test_not_standalone_handler_reject ( void  )
static

Definition at line 1154 of file basic_tests.c.

◆ test_not_utf16()

static void test_not_utf16 ( void  )
static

Definition at line 429 of file basic_tests.c.

◆ test_ns_in_attribute_default_without_namespaces()

static void test_ns_in_attribute_default_without_namespaces ( void  )
static

Definition at line 1373 of file basic_tests.c.

◆ test_nul_byte()

static void test_nul_byte ( void  )
static

Definition at line 81 of file basic_tests.c.

◆ test_param_entity_with_trailing_cr()

static void test_param_entity_with_trailing_cr ( void  )
static

Definition at line 3995 of file basic_tests.c.

◆ test_partial_char_in_epilog()

static void test_partial_char_in_epilog ( void  )
static

Definition at line 3720 of file basic_tests.c.

◆ test_pi_handled_in_default()

static void test_pi_handled_in_default ( void  )
static

Definition at line 4080 of file basic_tests.c.

◆ test_pi_xmm()

static void test_pi_xmm ( void  )
static

Definition at line 4142 of file basic_tests.c.

◆ test_pi_xnl()

static void test_pi_xnl ( void  )
static

Definition at line 4127 of file basic_tests.c.

◆ test_pi_yml()

static void test_pi_yml ( void  )
static

Definition at line 4112 of file basic_tests.c.

◆ test_pool_integrity_with_unfinished_attr()

static void test_pool_integrity_with_unfinished_attr ( void  )
static

Definition at line 5257 of file basic_tests.c.

◆ test_predefined_entities()

static void test_predefined_entities ( void  )
static

Definition at line 3098 of file basic_tests.c.

◆ test_predefined_entity_redefinition()

static void test_predefined_entity_redefinition ( void  )
static

Definition at line 3450 of file basic_tests.c.

◆ test_public_notation_no_sysid()

static void test_public_notation_no_sysid ( void  )
static

Definition at line 3479 of file basic_tests.c.

◆ test_really_long_encoded_lines()

static void test_really_long_encoded_lines ( void  )
static

Definition at line 745 of file basic_tests.c.

◆ test_really_long_lines()

static void test_really_long_lines ( void  )
static

Definition at line 710 of file basic_tests.c.

◆ test_recursive_external_parameter_entity()

static void test_recursive_external_parameter_entity ( void  )
static

Definition at line 3587 of file basic_tests.c.

◆ test_recursive_external_parameter_entity_2()

static void test_recursive_external_parameter_entity_2 ( void  )
static

Definition at line 1205 of file basic_tests.c.

◆ test_reject_lt_in_attribute_value()

static void test_reject_lt_in_attribute_value ( void  )
static

Definition at line 3891 of file basic_tests.c.

◆ test_reject_unfinished_param_in_att_value()

static void test_reject_unfinished_param_in_att_value ( void  )
static

Definition at line 3900 of file basic_tests.c.

◆ test_reparse_deferral_is_inherited()

static void test_reparse_deferral_is_inherited ( void  )
static

Definition at line 5566 of file basic_tests.c.

◆ test_repeated_stop_parser_between_char_data_calls()

static void test_repeated_stop_parser_between_char_data_calls ( void  )
static

Definition at line 1435 of file basic_tests.c.

◆ test_reset_in_entity()

static void test_reset_in_entity ( void  )
static

Definition at line 2380 of file basic_tests.c.

◆ test_restart_on_error()

static void test_restart_on_error ( void  )
static

Definition at line 3875 of file basic_tests.c.

◆ test_resume_entity_with_syntax_error()

static void test_resume_entity_with_syntax_error ( void  )
static

Definition at line 3832 of file basic_tests.c.

◆ test_resume_invalid_parse()

static void test_resume_invalid_parse ( void  )
static

Definition at line 2404 of file basic_tests.c.

◆ test_resume_resuspended()

static void test_resume_resuspended ( void  )
static

Definition at line 2420 of file basic_tests.c.

◆ test_set_bad_reparse_option()

static void test_set_bad_reparse_option ( void  )
static

Definition at line 5651 of file basic_tests.c.

◆ test_set_base()

static void test_set_base ( void  )
static

Definition at line 2323 of file basic_tests.c.

◆ test_set_foreign_dtd()

static void test_set_foreign_dtd ( void  )
static

Definition at line 2190 of file basic_tests.c.

◆ test_set_reparse_deferral()

static void test_set_reparse_deferral ( void  )
static

Definition at line 5397 of file basic_tests.c.

◆ test_set_reparse_deferral_on_null_parser()

static void test_set_reparse_deferral_on_null_parser ( void  )
static

Definition at line 5588 of file basic_tests.c.

◆ test_set_reparse_deferral_on_the_fly()

static void test_set_reparse_deferral_on_the_fly ( void  )
static

Definition at line 5600 of file basic_tests.c.

◆ test_short_doctype()

static void test_short_doctype ( void  )
static

Definition at line 5143 of file basic_tests.c.

◆ test_short_doctype_2()

static void test_short_doctype_2 ( void  )
static

Definition at line 5150 of file basic_tests.c.

◆ test_short_doctype_3()

static void test_short_doctype_3 ( void  )
static

Definition at line 5157 of file basic_tests.c.

◆ test_siphash_self()

static void test_siphash_self ( void  )
static

Definition at line 100 of file basic_tests.c.

◆ test_siphash_spec()

static void test_siphash_spec ( void  )
static

Definition at line 106 of file basic_tests.c.

◆ test_skipped_external_entity()

static void test_skipped_external_entity ( void  )
static

Definition at line 3939 of file basic_tests.c.

◆ test_skipped_null_loaded_ext_entity()

static void test_skipped_null_loaded_ext_entity ( void  )
static

Definition at line 3956 of file basic_tests.c.

◆ test_skipped_parameter_entity()

static void test_skipped_parameter_entity ( void  )
static

Definition at line 3565 of file basic_tests.c.

◆ test_skipped_unloaded_ext_entity()

static void test_skipped_unloaded_ext_entity ( void  )
static

Definition at line 3974 of file basic_tests.c.

◆ test_standalone_internal_entity()

static void test_standalone_internal_entity ( void  )
static

Definition at line 3921 of file basic_tests.c.

◆ test_standalone_parameter_entity()

static void test_standalone_parameter_entity ( void  )
static

Definition at line 3545 of file basic_tests.c.

◆ test_stop_parser_between_cdata_calls()

static void test_stop_parser_between_cdata_calls ( void  )
static

Definition at line 1822 of file basic_tests.c.

◆ test_stop_parser_between_char_data_calls()

static void test_stop_parser_between_char_data_calls ( void  )
static

Definition at line 1388 of file basic_tests.c.

◆ test_subordinate_reset()

static void test_subordinate_reset ( void  )
static

Definition at line 2456 of file basic_tests.c.

◆ test_subordinate_suspend()

static void test_subordinate_suspend ( void  )
static

Definition at line 2470 of file basic_tests.c.

◆ test_subordinate_xdecl_abort()

static void test_subordinate_xdecl_abort ( void  )
static

Definition at line 2502 of file basic_tests.c.

◆ test_subordinate_xdecl_suspend()

static void test_subordinate_xdecl_suspend ( void  )
static

Definition at line 2486 of file basic_tests.c.

◆ test_suspend_epilog()

static void test_suspend_epilog ( void  )
static

Definition at line 3680 of file basic_tests.c.

◆ test_suspend_in_sole_empty_tag()

static void test_suspend_in_sole_empty_tag ( void  )
static

Definition at line 3693 of file basic_tests.c.

◆ test_suspend_parser_between_cdata_calls()

static void test_suspend_parser_between_cdata_calls ( void  )
static

Definition at line 1832 of file basic_tests.c.

◆ test_suspend_parser_between_char_data_calls()

static void test_suspend_parser_between_char_data_calls ( void  )
static

Definition at line 1409 of file basic_tests.c.

◆ test_suspend_resume_internal_entity()

static void test_suspend_resume_internal_entity ( void  )
static

Definition at line 3736 of file basic_tests.c.

◆ test_suspend_resume_internal_entity_issue_629()

static void test_suspend_resume_internal_entity_issue_629 ( void  )
static

Definition at line 3765 of file basic_tests.c.

◆ test_suspend_resume_parameter_entity()

static void test_suspend_resume_parameter_entity ( void  )
static

Definition at line 3850 of file basic_tests.c.

◆ test_suspend_xdecl()

static void test_suspend_xdecl ( void  )
static

Definition at line 3631 of file basic_tests.c.

◆ test_trailing_cr()

static void test_trailing_cr ( void  )
static

Definition at line 2574 of file basic_tests.c.

◆ test_trailing_cr_in_att_value()

static void test_trailing_cr_in_att_value ( void  )
static

Definition at line 3909 of file basic_tests.c.

◆ test_trailing_rsqb()

static void test_trailing_rsqb ( void  )
static

Definition at line 2634 of file basic_tests.c.

◆ test_trailing_spaces_in_elements()

static void test_trailing_spaces_in_elements ( void  )
static

Definition at line 4812 of file basic_tests.c.

◆ test_u0000_char()

static void test_u0000_char ( void  )
static

Definition at line 93 of file basic_tests.c.

◆ test_undefined_ext_entity_in_external_dtd()

static void test_undefined_ext_entity_in_external_dtd ( void  )
static

Definition at line 3606 of file basic_tests.c.

◆ test_unfinished_epilog()

static void test_unfinished_epilog ( void  )
static

Definition at line 3712 of file basic_tests.c.

◆ test_unknown_ascii_encoding_fail()

static void test_unknown_ascii_encoding_fail ( void  )
static

Definition at line 4378 of file basic_tests.c.

◆ test_unknown_ascii_encoding_ok()

static void test_unknown_ascii_encoding_ok ( void  )
static

Definition at line 4369 of file basic_tests.c.

◆ test_unknown_encoding_bad_ignore()

static void test_unknown_encoding_bad_ignore ( void  )
static

Definition at line 5015 of file basic_tests.c.

◆ test_unknown_encoding_bad_name()

static void test_unknown_encoding_bad_name ( void  )
static

Definition at line 4294 of file basic_tests.c.

◆ test_unknown_encoding_bad_name_2()

static void test_unknown_encoding_bad_name_2 ( void  )
static

Definition at line 4305 of file basic_tests.c.

◆ test_unknown_encoding_internal_entity()

static void test_unknown_encoding_internal_entity ( void  )
static

Definition at line 951 of file basic_tests.c.

◆ test_unknown_encoding_invalid_attr_value()

static void test_unknown_encoding_invalid_attr_value ( void  )
static

Definition at line 4428 of file basic_tests.c.

◆ test_unknown_encoding_invalid_high()

static void test_unknown_encoding_invalid_high ( void  )
static

Definition at line 4418 of file basic_tests.c.

◆ test_unknown_encoding_invalid_length()

static void test_unknown_encoding_invalid_length ( void  )
static

Definition at line 4388 of file basic_tests.c.

◆ test_unknown_encoding_invalid_surrogate()

static void test_unknown_encoding_invalid_surrogate ( void  )
static

Definition at line 4408 of file basic_tests.c.

◆ test_unknown_encoding_invalid_topbit()

static void test_unknown_encoding_invalid_topbit ( void  )
static

Definition at line 4398 of file basic_tests.c.

◆ test_unknown_encoding_long_name_1()

static void test_unknown_encoding_long_name_1 ( void  )
static

Definition at line 4318 of file basic_tests.c.

◆ test_unknown_encoding_long_name_2()

static void test_unknown_encoding_long_name_2 ( void  )
static

Definition at line 4340 of file basic_tests.c.

◆ test_unknown_encoding_success()

static void test_unknown_encoding_success ( void  )
static

Definition at line 4283 of file basic_tests.c.

◆ test_unrecognised_encoding_internal_entity()

static void test_unrecognised_encoding_internal_entity ( void  )
static

Definition at line 964 of file basic_tests.c.

◆ test_user_parameters()

static void test_user_parameters ( void  )
static

Definition at line 2711 of file basic_tests.c.

◆ test_utf16()

static void test_utf16 ( void  )
static

Definition at line 375 of file basic_tests.c.

◆ test_utf16_attribute()

static void test_utf16_attribute ( void  )
static

Definition at line 4828 of file basic_tests.c.

◆ test_utf16_bad_surrogate_pair()

static void test_utf16_bad_surrogate_pair ( void  )
static

Definition at line 1664 of file basic_tests.c.

◆ test_utf16_be_comment()

static void test_utf16_be_comment ( void  )
static

Definition at line 4210 of file basic_tests.c.

◆ test_utf16_be_pi()

static void test_utf16_be_pi ( void  )
static

Definition at line 4183 of file basic_tests.c.

◆ test_utf16_le_comment()

static void test_utf16_le_comment ( void  )
static

Definition at line 4229 of file basic_tests.c.

◆ test_utf16_le_epilog_newline()

static void test_utf16_le_epilog_newline ( void  )
static

Definition at line 406 of file basic_tests.c.

◆ test_utf16_pe()

static void test_utf16_pe ( void  )
static

Definition at line 4875 of file basic_tests.c.

◆ test_utf16_pi()

static void test_utf16_pi ( void  )
static

Definition at line 4157 of file basic_tests.c.

◆ test_utf16_second_attr()

static void test_utf16_second_attr ( void  )
static

Definition at line 4848 of file basic_tests.c.

◆ test_utf8_auto_align()

static void test_utf8_auto_align ( void  )
static

Definition at line 321 of file basic_tests.c.

◆ test_utf8_false_rejection()

static void test_utf8_false_rejection ( void  )
static

Definition at line 278 of file basic_tests.c.

◆ test_utf8_in_cdata_section()

static void test_utf8_in_cdata_section ( void  )
static

Definition at line 4680 of file basic_tests.c.

◆ test_utf8_in_cdata_section_2()

static void test_utf8_in_cdata_section_2 ( void  )
static

Definition at line 4693 of file basic_tests.c.

◆ test_utf8_in_start_tags()

static void test_utf8_in_start_tags ( void  )
static

Definition at line 4705 of file basic_tests.c.

◆ test_varying_buffer_fills()

static void test_varying_buffer_fills ( void  )
static

Definition at line 5794 of file basic_tests.c.

◆ test_wfc_no_recursive_entity_refs()

static void test_wfc_no_recursive_entity_refs ( void  )
static

Definition at line 1194 of file basic_tests.c.

◆ test_wfc_undeclared_entity_no_external_subset()

static void test_wfc_undeclared_entity_no_external_subset ( void  )
static

Definition at line 1081 of file basic_tests.c.

◆ test_wfc_undeclared_entity_standalone()

static void test_wfc_undeclared_entity_standalone ( void  )
static

Definition at line 1090 of file basic_tests.c.

◆ test_wfc_undeclared_entity_unread_external_subset()

static void test_wfc_undeclared_entity_unread_external_subset ( void  )
static

Definition at line 1068 of file basic_tests.c.

◆ test_wfc_undeclared_entity_with_external_subset()

static void test_wfc_undeclared_entity_with_external_subset ( void  )
static

Definition at line 1141 of file basic_tests.c.

◆ test_wfc_undeclared_entity_with_external_subset_standalone()

static void test_wfc_undeclared_entity_with_external_subset_standalone ( void  )
static

Definition at line 1104 of file basic_tests.c.

◆ test_xmldecl_invalid()

static void test_xmldecl_invalid ( void  )
static

Definition at line 930 of file basic_tests.c.

◆ test_xmldecl_misplaced()

static void test_xmldecl_misplaced ( void  )
static

Definition at line 921 of file basic_tests.c.

◆ test_xmldecl_missing_attr()

static void test_xmldecl_missing_attr ( void  )
static

Definition at line 936 of file basic_tests.c.

◆ test_xmldecl_missing_value()

static void test_xmldecl_missing_value ( void  )
static

Definition at line 942 of file basic_tests.c.

Variable Documentation

◆ g_biggestAlloc

size_t g_biggestAlloc = 0
static

Definition at line 5667 of file basic_tests.c.

◆ g_totalAlloc

size_t g_totalAlloc = 0
static

Definition at line 5666 of file basic_tests.c.