Apache HTTPD
Functions
ns_tests.c File Reference
#include "expat_config.h"
#include <string.h>
#include "expat.h"
#include "internal.h"
#include "minicheck.h"
#include "common.h"
#include "dummy.h"
#include "handlers.h"
#include "ns_tests.h"

Go to the source code of this file.

Functions

static void namespace_setup (void)
 
static void namespace_teardown (void)
 
static void test_return_ns_triplet (void)
 
static void test_ns_parser_reset (void)
 
static void run_ns_tagname_overwrite_test (const char *text, const XML_Char *result)
 
static void test_ns_tagname_overwrite (void)
 
static void test_ns_tagname_overwrite_triplet (void)
 
static void test_start_ns_clears_start_element (void)
 
static void test_default_ns_from_ext_subset_and_ext_ge (void)
 
static void test_ns_prefix_with_empty_uri_1 (void)
 
static void test_ns_prefix_with_empty_uri_2 (void)
 
static void test_ns_prefix_with_empty_uri_3 (void)
 
static void test_ns_prefix_with_empty_uri_4 (void)
 
static void test_ns_unbound_prefix (void)
 
static void test_ns_default_with_empty_uri (void)
 
static void test_ns_duplicate_attrs_diff_prefixes (void)
 
static void test_ns_duplicate_hashes (void)
 
static void test_ns_unbound_prefix_on_attribute (void)
 
static void test_ns_unbound_prefix_on_element (void)
 
static void test_ns_long_element (void)
 
static void test_ns_mixed_prefix_atts (void)
 
static void test_ns_extend_uri_buffer (void)
 
static void test_ns_reserved_attributes (void)
 
static void test_ns_reserved_attributes_2 (void)
 
static void test_ns_extremely_long_prefix (void)
 
static void test_ns_unknown_encoding_success (void)
 
static void test_ns_double_colon (void)
 
static void test_ns_double_colon_element (void)
 
static void test_ns_bad_attr_leafname (void)
 
static void test_ns_bad_element_leafname (void)
 
static void test_ns_utf16_leafname (void)
 
static void test_ns_utf16_element_leafname (void)
 
static void test_ns_utf16_doctype (void)
 
static void test_ns_invalid_doctype (void)
 
static void test_ns_double_colon_doctype (void)
 
static void test_ns_separator_in_uri (void)
 
void make_namespace_test_case (Suite *s)
 

Function Documentation

◆ make_namespace_test_case()

void make_namespace_test_case ( Suite s)

Definition at line 715 of file ns_tests.c.

◆ namespace_setup()

static void namespace_setup ( void  )
static

Definition at line 57 of file ns_tests.c.

◆ namespace_teardown()

static void namespace_teardown ( void  )
static

Definition at line 64 of file ns_tests.c.

◆ run_ns_tagname_overwrite_test()

static void run_ns_tagname_overwrite_test ( const char text,
const XML_Char result 
)
static

Definition at line 122 of file ns_tests.c.

◆ test_default_ns_from_ext_subset_and_ext_ge()

static void test_default_ns_from_ext_subset_and_ext_ge ( void  )
static

Definition at line 190 of file ns_tests.c.

◆ test_ns_bad_attr_leafname()

static void test_ns_bad_attr_leafname ( void  )
static

Definition at line 573 of file ns_tests.c.

◆ test_ns_bad_element_leafname()

static void test_ns_bad_element_leafname ( void  )
static

Definition at line 581 of file ns_tests.c.

◆ test_ns_default_with_empty_uri()

static void test_ns_default_with_empty_uri ( void  )
static

Definition at line 284 of file ns_tests.c.

◆ test_ns_double_colon()

static void test_ns_double_colon ( void  )
static

Definition at line 534 of file ns_tests.c.

◆ test_ns_double_colon_doctype()

static void test_ns_double_colon_doctype ( void  )
static

Definition at line 673 of file ns_tests.c.

◆ test_ns_double_colon_element()

static void test_ns_double_colon_element ( void  )
static

Definition at line 553 of file ns_tests.c.

◆ test_ns_duplicate_attrs_diff_prefixes()

static void test_ns_duplicate_attrs_diff_prefixes ( void  )
static

Definition at line 299 of file ns_tests.c.

◆ test_ns_duplicate_hashes()

static void test_ns_duplicate_hashes ( void  )
static

Definition at line 308 of file ns_tests.c.

◆ test_ns_extend_uri_buffer()

static void test_ns_extend_uri_buffer ( void  )
static

Definition at line 386 of file ns_tests.c.

◆ test_ns_extremely_long_prefix()

static void test_ns_extremely_long_prefix ( void  )
static

Definition at line 435 of file ns_tests.c.

◆ test_ns_invalid_doctype()

static void test_ns_invalid_doctype ( void  )
static

Definition at line 664 of file ns_tests.c.

◆ test_ns_long_element()

static void test_ns_long_element ( void  )
static

Definition at line 350 of file ns_tests.c.

◆ test_ns_mixed_prefix_atts()

static void test_ns_mixed_prefix_atts ( void  )
static

Definition at line 371 of file ns_tests.c.

◆ test_ns_parser_reset()

static void test_ns_parser_reset ( void  )
static

Definition at line 104 of file ns_tests.c.

◆ test_ns_prefix_with_empty_uri_1()

static void test_ns_prefix_with_empty_uri_1 ( void  )
static

Definition at line 211 of file ns_tests.c.

◆ test_ns_prefix_with_empty_uri_2()

static void test_ns_prefix_with_empty_uri_2 ( void  )
static

Definition at line 223 of file ns_tests.c.

◆ test_ns_prefix_with_empty_uri_3()

static void test_ns_prefix_with_empty_uri_3 ( void  )
static

Definition at line 233 of file ns_tests.c.

◆ test_ns_prefix_with_empty_uri_4()

static void test_ns_prefix_with_empty_uri_4 ( void  )
static

Definition at line 247 of file ns_tests.c.

◆ test_ns_reserved_attributes()

static void test_ns_reserved_attributes ( void  )
static

Definition at line 400 of file ns_tests.c.

◆ test_ns_reserved_attributes_2()

static void test_ns_reserved_attributes_2 ( void  )
static

Definition at line 415 of file ns_tests.c.

◆ test_ns_separator_in_uri()

static void test_ns_separator_in_uri ( void  )
static

Definition at line 682 of file ns_tests.c.

◆ test_ns_tagname_overwrite()

static void test_ns_tagname_overwrite ( void  )
static

Definition at line 135 of file ns_tests.c.

◆ test_ns_tagname_overwrite_triplet()

static void test_ns_tagname_overwrite_triplet ( void  )
static

Definition at line 153 of file ns_tests.c.

◆ test_ns_unbound_prefix()

static void test_ns_unbound_prefix ( void  )
static

Definition at line 268 of file ns_tests.c.

◆ test_ns_unbound_prefix_on_attribute()

static void test_ns_unbound_prefix_on_attribute ( void  )
static

Definition at line 334 of file ns_tests.c.

◆ test_ns_unbound_prefix_on_element()

static void test_ns_unbound_prefix_on_element ( void  )
static

Definition at line 342 of file ns_tests.c.

◆ test_ns_unknown_encoding_success()

static void test_ns_unknown_encoding_success ( void  )
static

Definition at line 524 of file ns_tests.c.

◆ test_ns_utf16_doctype()

static void test_ns_utf16_doctype ( void  )
static

Definition at line 633 of file ns_tests.c.

◆ test_ns_utf16_element_leafname()

static void test_ns_utf16_element_leafname ( void  )
static

Definition at line 610 of file ns_tests.c.

◆ test_ns_utf16_leafname()

static void test_ns_utf16_leafname ( void  )
static

Definition at line 590 of file ns_tests.c.

◆ test_return_ns_triplet()

static void test_return_ns_triplet ( void  )
static

Definition at line 68 of file ns_tests.c.

◆ test_start_ns_clears_start_element()

static void test_start_ns_clears_start_element ( void  )
static

Definition at line 172 of file ns_tests.c.