Apache HTTPD
Functions
alloc_tests.c File Reference
#include <string.h>
#include <assert.h>
#include "expat.h"
#include "common.h"
#include "minicheck.h"
#include "dummy.h"
#include "handlers.h"
#include "alloc_tests.h"

Go to the source code of this file.

Functions

static void alloc_setup (void)
 
static void alloc_teardown (void)
 
static void test_alloc_parse_xdecl (void)
 
static void test_alloc_parse_xdecl_2 (void)
 
static void test_alloc_parse_pi (void)
 
static void test_alloc_parse_pi_2 (void)
 
static void test_alloc_parse_pi_3 (void)
 
static void test_alloc_parse_comment (void)
 
static void test_alloc_parse_comment_2 (void)
 
static void test_alloc_create_external_parser (void)
 
static void test_alloc_run_external_parser (void)
 
static void test_alloc_dtd_copy_default_atts (void)
 
static void test_alloc_external_entity (void)
 
static void test_alloc_ext_entity_set_encoding (void)
 
static void test_alloc_internal_entity (void)
 
static void test_alloc_dtd_default_handling (void)
 
static void test_alloc_explicit_encoding (void)
 
static void test_alloc_set_base (void)
 
static void test_alloc_realloc_buffer (void)
 
static void test_alloc_ext_entity_realloc_buffer (void)
 
static void test_alloc_realloc_many_attributes (void)
 
static void test_alloc_public_entity_value (void)
 
static void test_alloc_realloc_subst_public_entity_value (void)
 
static void test_alloc_parse_public_doctype (void)
 
static void test_alloc_parse_public_doctype_long_name (void)
 
static void test_alloc_set_foreign_dtd (void)
 
static void test_alloc_attribute_enum_value (void)
 
static void test_alloc_realloc_attribute_enum_value (void)
 
static void test_alloc_realloc_implied_attribute (void)
 
static void test_alloc_realloc_default_attribute (void)
 
static void test_alloc_notation (void)
 
static void test_alloc_public_notation (void)
 
static void test_alloc_system_notation (void)
 
static void test_alloc_nested_groups (void)
 
static void test_alloc_realloc_nested_groups (void)
 
static void test_alloc_large_group (void)
 
static void test_alloc_realloc_group_choice (void)
 
static void test_alloc_pi_in_epilog (void)
 
static void test_alloc_comment_in_epilog (void)
 
static void test_alloc_realloc_long_attribute_value (void)
 
static void test_alloc_attribute_whitespace (void)
 
static void test_alloc_attribute_predefined_entity (void)
 
static void test_alloc_long_attr_default_with_char_ref (void)
 
static void test_alloc_long_attr_value (void)
 
static void test_alloc_nested_entities (void)
 
static void test_alloc_realloc_param_entity_newline (void)
 
static void test_alloc_realloc_ce_extends_pe (void)
 
static void test_alloc_realloc_attributes (void)
 
static void test_alloc_long_doc_name (void)
 
static void test_alloc_long_base (void)
 
static void test_alloc_long_public_id (void)
 
static void test_alloc_long_entity_value (void)
 
static void test_alloc_long_notation (void)
 
static void test_alloc_reset_after_external_entity_parser_create_fail (void)
 
void make_alloc_test_case (Suite *s)
 

Function Documentation

◆ alloc_setup()

static void alloc_setup ( void  )
static

Definition at line 59 of file alloc_tests.c.

◆ alloc_teardown()

static void alloc_teardown ( void  )
static

Definition at line 71 of file alloc_tests.c.

◆ make_alloc_test_case()

void make_alloc_test_case ( Suite s)

Definition at line 2063 of file alloc_tests.c.

◆ test_alloc_attribute_enum_value()

static void test_alloc_attribute_enum_value ( void  )
static

Definition at line 889 of file alloc_tests.c.

◆ test_alloc_attribute_predefined_entity()

static void test_alloc_attribute_predefined_entity ( void  )
static

Definition at line 1510 of file alloc_tests.c.

◆ test_alloc_attribute_whitespace()

static void test_alloc_attribute_whitespace ( void  )
static

Definition at line 1489 of file alloc_tests.c.

◆ test_alloc_comment_in_epilog()

static void test_alloc_comment_in_epilog ( void  )
static

Definition at line 1422 of file alloc_tests.c.

◆ test_alloc_create_external_parser()

static void test_alloc_create_external_parser ( void  )
static

Definition at line 296 of file alloc_tests.c.

◆ test_alloc_dtd_copy_default_atts()

static void test_alloc_dtd_copy_default_atts ( void  )
static

Definition at line 343 of file alloc_tests.c.

◆ test_alloc_dtd_default_handling()

static void test_alloc_dtd_default_handling ( void  )
static

Definition at line 456 of file alloc_tests.c.

◆ test_alloc_explicit_encoding()

static void test_alloc_explicit_encoding ( void  )
static

Definition at line 515 of file alloc_tests.c.

◆ test_alloc_ext_entity_realloc_buffer()

static void test_alloc_ext_entity_realloc_buffer ( void  )
static

Definition at line 580 of file alloc_tests.c.

◆ test_alloc_ext_entity_set_encoding()

static void test_alloc_ext_entity_set_encoding ( void  )
static

Definition at line 398 of file alloc_tests.c.

◆ test_alloc_external_entity()

static void test_alloc_external_entity ( void  )
static

Definition at line 363 of file alloc_tests.c.

◆ test_alloc_internal_entity()

static void test_alloc_internal_entity ( void  )
static

Definition at line 428 of file alloc_tests.c.

◆ test_alloc_large_group()

static void test_alloc_large_group ( void  )
static

Definition at line 1322 of file alloc_tests.c.

◆ test_alloc_long_attr_default_with_char_ref()

static void test_alloc_long_attr_default_with_char_ref ( void  )
static

Definition at line 1535 of file alloc_tests.c.

◆ test_alloc_long_attr_value()

static void test_alloc_long_attr_value ( void  )
static

Definition at line 1579 of file alloc_tests.c.

◆ test_alloc_long_base()

static void test_alloc_long_base ( void  )
static

Definition at line 1828 of file alloc_tests.c.

◆ test_alloc_long_doc_name()

static void test_alloc_long_doc_name ( void  )
static

Definition at line 1789 of file alloc_tests.c.

◆ test_alloc_long_entity_value()

static void test_alloc_long_entity_value ( void  )
static

Definition at line 1927 of file alloc_tests.c.

◆ test_alloc_long_notation()

static void test_alloc_long_notation ( void  )
static

Definition at line 1975 of file alloc_tests.c.

◆ test_alloc_long_public_id()

static void test_alloc_long_public_id ( void  )
static

Definition at line 1880 of file alloc_tests.c.

◆ test_alloc_nested_entities()

static void test_alloc_nested_entities ( void  )
static

Definition at line 1625 of file alloc_tests.c.

◆ test_alloc_nested_groups()

static void test_alloc_nested_groups ( void  )
static

Definition at line 1242 of file alloc_tests.c.

◆ test_alloc_notation()

static void test_alloc_notation ( void  )
static

Definition at line 1077 of file alloc_tests.c.

◆ test_alloc_parse_comment()

static void test_alloc_parse_comment ( void  )
static

Definition at line 243 of file alloc_tests.c.

◆ test_alloc_parse_comment_2()

static void test_alloc_parse_comment_2 ( void  )
static

Definition at line 267 of file alloc_tests.c.

◆ test_alloc_parse_pi()

static void test_alloc_parse_pi ( void  )
static

Definition at line 150 of file alloc_tests.c.

◆ test_alloc_parse_pi_2()

static void test_alloc_parse_pi_2 ( void  )
static

Definition at line 176 of file alloc_tests.c.

◆ test_alloc_parse_pi_3()

static void test_alloc_parse_pi_3 ( void  )
static

Definition at line 202 of file alloc_tests.c.

◆ test_alloc_parse_public_doctype()

static void test_alloc_parse_public_doctype ( void  )
static

Definition at line 766 of file alloc_tests.c.

◆ test_alloc_parse_public_doctype_long_name()

static void test_alloc_parse_public_doctype_long_name ( void  )
static

Definition at line 815 of file alloc_tests.c.

◆ test_alloc_parse_xdecl()

static void test_alloc_parse_xdecl ( void  )
static

Definition at line 76 of file alloc_tests.c.

◆ test_alloc_parse_xdecl_2()

static void test_alloc_parse_xdecl_2 ( void  )
static

Definition at line 106 of file alloc_tests.c.

◆ test_alloc_pi_in_epilog()

static void test_alloc_pi_in_epilog ( void  )
static

Definition at line 1396 of file alloc_tests.c.

◆ test_alloc_public_entity_value()

static void test_alloc_public_entity_value ( void  )
static

Definition at line 651 of file alloc_tests.c.

◆ test_alloc_public_notation()

static void test_alloc_public_notation ( void  )
static

Definition at line 1145 of file alloc_tests.c.

◆ test_alloc_realloc_attribute_enum_value()

static void test_alloc_realloc_attribute_enum_value ( void  )
static

Definition at line 921 of file alloc_tests.c.

◆ test_alloc_realloc_attributes()

static void test_alloc_realloc_attributes ( void  )
static

Definition at line 1754 of file alloc_tests.c.

◆ test_alloc_realloc_buffer()

static void test_alloc_realloc_buffer ( void  )
static

Definition at line 550 of file alloc_tests.c.

◆ test_alloc_realloc_ce_extends_pe()

static void test_alloc_realloc_ce_extends_pe ( void  )
static

Definition at line 1708 of file alloc_tests.c.

◆ test_alloc_realloc_default_attribute()

static void test_alloc_realloc_default_attribute ( void  )
static

Definition at line 1027 of file alloc_tests.c.

◆ test_alloc_realloc_group_choice()

static void test_alloc_realloc_group_choice ( void  )
static

Definition at line 1358 of file alloc_tests.c.

◆ test_alloc_realloc_implied_attribute()

static void test_alloc_realloc_implied_attribute ( void  )
static

Definition at line 977 of file alloc_tests.c.

◆ test_alloc_realloc_long_attribute_value()

static void test_alloc_realloc_long_attribute_value ( void  )
static

Definition at line 1448 of file alloc_tests.c.

◆ test_alloc_realloc_many_attributes()

static void test_alloc_realloc_many_attributes ( void  )
static

Definition at line 606 of file alloc_tests.c.

◆ test_alloc_realloc_nested_groups()

static void test_alloc_realloc_nested_groups ( void  )
static

Definition at line 1282 of file alloc_tests.c.

◆ test_alloc_realloc_param_entity_newline()

static void test_alloc_realloc_param_entity_newline ( void  )
static

Definition at line 1662 of file alloc_tests.c.

◆ test_alloc_realloc_subst_public_entity_value()

static void test_alloc_realloc_subst_public_entity_value ( void  )
static

Definition at line 704 of file alloc_tests.c.

◆ test_alloc_reset_after_external_entity_parser_create_fail()

static void test_alloc_reset_after_external_entity_parser_create_fail ( void  )
static

Definition at line 2044 of file alloc_tests.c.

◆ test_alloc_run_external_parser()

static void test_alloc_run_external_parser ( void  )
static

Definition at line 313 of file alloc_tests.c.

◆ test_alloc_set_base()

static void test_alloc_set_base ( void  )
static

Definition at line 532 of file alloc_tests.c.

◆ test_alloc_set_foreign_dtd()

static void test_alloc_set_foreign_dtd ( void  )
static

Definition at line 860 of file alloc_tests.c.

◆ test_alloc_system_notation()

static void test_alloc_system_notation ( void  )
static

Definition at line 1194 of file alloc_tests.c.