diff options
author | yanxk <yanxk.fnst@fujitsu.com> | 2022-08-12 14:52:31 +0800 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2022-11-10 12:04:20 +0000 |
commit | 97a35a48487ecb2a4c9bcf92e2c6f6912edc5875 (patch) | |
tree | 3dce90b9ac8068ef09ef4cddf593cf522b60c226 | |
parent | 66985604887e5185b01085847882a725ef719e7a (diff) |
agl-test-framework: deploy parametric implementation for old ‘expat’ test
Single definitions are no longer used in this test framework,
they are now replaced by another parametric implementation.
The benefit of this is that it minimizes the likelihood of
requiring manual maintenance due to the small but frequent updates from the upstream.
Bug-AGL: SPEC-4345
Signed-off-by: yanxk <yanxk.fnst@fujitsu.com>
Change-Id: I326c429b0750e7d7e623f45d36d4e53e5c5b97c4
-rw-r--r-- | tests/expat/run_tests.py | 3422 |
1 files changed, 6 insertions, 3416 deletions
diff --git a/tests/expat/run_tests.py b/tests/expat/run_tests.py index 43014d1..9db1853 100644 --- a/tests/expat/run_tests.py +++ b/tests/expat/run_tests.py @@ -1,7 +1,5 @@ import pytest - import tests.expat.parser as parser - from plugins.agl_test_ptest_base import PTESTBase class EXPATBase(PTESTBase): @@ -13,3426 +11,18 @@ class EXPATBase(PTESTBase): self.case_info_list = parser.log_parse(log_file) self.init_case_status() +instance = EXPATBase() +instance.run_ptest() + @pytest.fixture(scope='module') def testbase(): - #init instance for test - instance = EXPATBase() - #run test scripts - #the "test_name" should be the name of test set in ptest - instance.run_test_fun() - #parser log - instance.log_process() yield instance #package log files and make report file instance.log_report() -def setup_module(testbase: EXPATBase): - print("setup function start") - -def precheck(): - instance = EXPATBase() - return instance.precheck() -skip_msg = "The current environment does not match the test requirements." -pytestmark = pytest.mark.skipif(precheck() == False, reason = skip_msg) - -def test_runtests_test_accounting_precision(testbase: EXPATBase): - name = "runtests_test_accounting_precision" - testbase.run_case(name) - - -def test_runtests_test_billion_laughs_attack_protection_api(testbase: EXPATBase): - name = "runtests_test_billion_laughs_attack_protection_api" - testbase.run_case(name) - - -def test_runtests_test_helper_unsigned_char_to_printable(testbase: EXPATBase): - name = "runtests_test_helper_unsigned_char_to_printable" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_xmlns(testbase: EXPATBase): - name = "runtests_test_nsalloc_xmlns" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_parse_buffer(testbase: EXPATBase): - name = "runtests_test_nsalloc_parse_buffer" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_long_prefix(testbase: EXPATBase): - name = "runtests_test_nsalloc_long_prefix" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_long_uri(testbase: EXPATBase): - name = "runtests_test_nsalloc_long_uri" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_long_attr(testbase: EXPATBase): - name = "runtests_test_nsalloc_long_attr" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_long_attr_prefix(testbase: EXPATBase): - name = "runtests_test_nsalloc_long_attr_prefix" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_realloc_attributes(testbase: EXPATBase): - name = "runtests_test_nsalloc_realloc_attributes" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_long_element(testbase: EXPATBase): - name = "runtests_test_nsalloc_long_element" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_realloc_binding_uri(testbase: EXPATBase): - name = "runtests_test_nsalloc_realloc_binding_uri" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_realloc_long_prefix(testbase: EXPATBase): - name = "runtests_test_nsalloc_realloc_long_prefix" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_realloc_longer_prefix(testbase: EXPATBase): - name = "runtests_test_nsalloc_realloc_longer_prefix" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_long_namespace(testbase: EXPATBase): - name = "runtests_test_nsalloc_long_namespace" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_less_long_namespace(testbase: EXPATBase): - name = "runtests_test_nsalloc_less_long_namespace" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_long_context(testbase: EXPATBase): - name = "runtests_test_nsalloc_long_context" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_realloc_long_context(testbase: EXPATBase): - name = "runtests_test_nsalloc_realloc_long_context" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_realloc_long_context_2(testbase: EXPATBase): - name = "runtests_test_nsalloc_realloc_long_context_2" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_realloc_long_context_3(testbase: EXPATBase): - name = "runtests_test_nsalloc_realloc_long_context_3" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_realloc_long_context_4(testbase: EXPATBase): - name = "runtests_test_nsalloc_realloc_long_context_4" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_realloc_long_context_5(testbase: EXPATBase): - name = "runtests_test_nsalloc_realloc_long_context_5" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_realloc_long_context_6(testbase: EXPATBase): - name = "runtests_test_nsalloc_realloc_long_context_6" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_realloc_long_context_7(testbase: EXPATBase): - name = "runtests_test_nsalloc_realloc_long_context_7" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_realloc_long_ge_name(testbase: EXPATBase): - name = "runtests_test_nsalloc_realloc_long_ge_name" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_realloc_long_context_in_dtd(testbase: EXPATBase): - name = "runtests_test_nsalloc_realloc_long_context_in_dtd" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_long_default_in_ext(testbase: EXPATBase): - name = "runtests_test_nsalloc_long_default_in_ext" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_long_systemid_in_ext(testbase: EXPATBase): - name = "runtests_test_nsalloc_long_systemid_in_ext" - testbase.run_case(name) - - -def test_runtests_test_nsalloc_prefixed_element(testbase: EXPATBase): - name = "runtests_test_nsalloc_prefixed_element" - testbase.run_case(name) - - -def test_runtests_test_alloc_parse_xdecl(testbase: EXPATBase): - name = "runtests_test_alloc_parse_xdecl" - testbase.run_case(name) - - -def test_runtests_test_alloc_parse_xdecl_2(testbase: EXPATBase): - name = "runtests_test_alloc_parse_xdecl_2" - testbase.run_case(name) - - -def test_runtests_test_alloc_parse_pi(testbase: EXPATBase): - name = "runtests_test_alloc_parse_pi" - testbase.run_case(name) - - -def test_runtests_test_alloc_parse_pi_2(testbase: EXPATBase): - name = "runtests_test_alloc_parse_pi_2" - testbase.run_case(name) - - -def test_runtests_test_alloc_parse_pi_3(testbase: EXPATBase): - name = "runtests_test_alloc_parse_pi_3" - testbase.run_case(name) - - -def test_runtests_test_alloc_parse_comment(testbase: EXPATBase): - name = "runtests_test_alloc_parse_comment" - testbase.run_case(name) - - -def test_runtests_test_alloc_parse_comment_2(testbase: EXPATBase): - name = "runtests_test_alloc_parse_comment_2" - testbase.run_case(name) - - -def test_runtests_test_alloc_create_external_parser(testbase: EXPATBase): - name = "runtests_test_alloc_create_external_parser" - testbase.run_case(name) - - -def test_runtests_test_alloc_run_external_parser(testbase: EXPATBase): - name = "runtests_test_alloc_run_external_parser" - testbase.run_case(name) - - -def test_runtests_test_alloc_dtd_copy_default_atts(testbase: EXPATBase): - name = "runtests_test_alloc_dtd_copy_default_atts" - testbase.run_case(name) - - -def test_runtests_test_alloc_external_entity(testbase: EXPATBase): - name = "runtests_test_alloc_external_entity" - testbase.run_case(name) - - -def test_runtests_test_alloc_ext_entity_set_encoding(testbase: EXPATBase): - name = "runtests_test_alloc_ext_entity_set_encoding" - testbase.run_case(name) - - -def test_runtests_test_alloc_internal_entity(testbase: EXPATBase): - name = "runtests_test_alloc_internal_entity" - testbase.run_case(name) - - -def test_runtests_test_alloc_dtd_default_handling(testbase: EXPATBase): - name = "runtests_test_alloc_dtd_default_handling" - testbase.run_case(name) - - -def test_runtests_test_alloc_explicit_encoding(testbase: EXPATBase): - name = "runtests_test_alloc_explicit_encoding" - testbase.run_case(name) - - -def test_runtests_test_alloc_set_base(testbase: EXPATBase): - name = "runtests_test_alloc_set_base" - testbase.run_case(name) - - -def test_runtests_test_alloc_realloc_buffer(testbase: EXPATBase): - name = "runtests_test_alloc_realloc_buffer" - testbase.run_case(name) - - -def test_runtests_test_alloc_ext_entity_realloc_buffer(testbase: EXPATBase): - name = "runtests_test_alloc_ext_entity_realloc_buffer" - testbase.run_case(name) - - -def test_runtests_test_alloc_realloc_many_attributes(testbase: EXPATBase): - name = "runtests_test_alloc_realloc_many_attributes" - testbase.run_case(name) - - -def test_runtests_test_alloc_public_entity_value(testbase: EXPATBase): - name = "runtests_test_alloc_public_entity_value" - testbase.run_case(name) - - -def test_runtests_test_alloc_realloc_subst_public_entity_value(testbase: EXPATBase): - name = "runtests_test_alloc_realloc_subst_public_entity_value" - testbase.run_case(name) - - -def test_runtests_test_alloc_parse_public_doctype(testbase: EXPATBase): - name = "runtests_test_alloc_parse_public_doctype" - testbase.run_case(name) - - -def test_runtests_test_alloc_parse_public_doctype_long_name(testbase: EXPATBase): - name = "runtests_test_alloc_parse_public_doctype_long_name" - testbase.run_case(name) - - -def test_runtests_test_alloc_set_foreign_dtd(testbase: EXPATBase): - name = "runtests_test_alloc_set_foreign_dtd" - testbase.run_case(name) - - -def test_runtests_test_alloc_attribute_enum_value(testbase: EXPATBase): - name = "runtests_test_alloc_attribute_enum_value" - testbase.run_case(name) - - -def test_runtests_test_alloc_realloc_attribute_enum_value(testbase: EXPATBase): - name = "runtests_test_alloc_realloc_attribute_enum_value" - testbase.run_case(name) - - -def test_runtests_test_alloc_realloc_implied_attribute(testbase: EXPATBase): - name = "runtests_test_alloc_realloc_implied_attribute" - testbase.run_case(name) - - -def test_runtests_test_alloc_realloc_default_attribute(testbase: EXPATBase): - name = "runtests_test_alloc_realloc_default_attribute" - testbase.run_case(name) - - -def test_runtests_test_alloc_notation(testbase: EXPATBase): - name = "runtests_test_alloc_notation" - testbase.run_case(name) - - -def test_runtests_test_alloc_public_notation(testbase: EXPATBase): - name = "runtests_test_alloc_public_notation" - testbase.run_case(name) - - -def test_runtests_test_alloc_system_notation(testbase: EXPATBase): - name = "runtests_test_alloc_system_notation" - testbase.run_case(name) - - -def test_runtests_test_alloc_nested_groups(testbase: EXPATBase): - name = "runtests_test_alloc_nested_groups" - testbase.run_case(name) - - -def test_runtests_test_alloc_realloc_nested_groups(testbase: EXPATBase): - name = "runtests_test_alloc_realloc_nested_groups" - testbase.run_case(name) - - -def test_runtests_test_alloc_large_group(testbase: EXPATBase): - name = "runtests_test_alloc_large_group" - testbase.run_case(name) - - -def test_runtests_test_alloc_realloc_group_choice(testbase: EXPATBase): - name = "runtests_test_alloc_realloc_group_choice" - testbase.run_case(name) - - -def test_runtests_test_alloc_pi_in_epilog(testbase: EXPATBase): - name = "runtests_test_alloc_pi_in_epilog" - testbase.run_case(name) - - -def test_runtests_test_alloc_comment_in_epilog(testbase: EXPATBase): - name = "runtests_test_alloc_comment_in_epilog" - testbase.run_case(name) - - -def test_runtests_test_alloc_realloc_long_attribute_value(testbase: EXPATBase): - name = "runtests_test_alloc_realloc_long_attribute_value" - testbase.run_case(name) - - -def test_runtests_test_alloc_attribute_whitespace(testbase: EXPATBase): - name = "runtests_test_alloc_attribute_whitespace" - testbase.run_case(name) - - -def test_runtests_test_alloc_attribute_predefined_entity(testbase: EXPATBase): - name = "runtests_test_alloc_attribute_predefined_entity" - testbase.run_case(name) - - -def test_runtests_test_alloc_long_attr_default_with_char_ref(testbase: EXPATBase): - name = "runtests_test_alloc_long_attr_default_with_char_ref" - testbase.run_case(name) - - -def test_runtests_test_alloc_long_attr_value(testbase: EXPATBase): - name = "runtests_test_alloc_long_attr_value" - testbase.run_case(name) - - -def test_runtests_test_alloc_nested_entities(testbase: EXPATBase): - name = "runtests_test_alloc_nested_entities" - testbase.run_case(name) - - -def test_runtests_test_alloc_realloc_param_entity_newline(testbase: EXPATBase): - name = "runtests_test_alloc_realloc_param_entity_newline" - testbase.run_case(name) - - -def test_runtests_test_alloc_realloc_ce_extends_pe(testbase: EXPATBase): - name = "runtests_test_alloc_realloc_ce_extends_pe" - testbase.run_case(name) - - -def test_runtests_test_alloc_realloc_attributes(testbase: EXPATBase): - name = "runtests_test_alloc_realloc_attributes" - testbase.run_case(name) - - -def test_runtests_test_alloc_long_doc_name(testbase: EXPATBase): - name = "runtests_test_alloc_long_doc_name" - testbase.run_case(name) - - -def test_runtests_test_alloc_long_base(testbase: EXPATBase): - name = "runtests_test_alloc_long_base" - testbase.run_case(name) - - -def test_runtests_test_alloc_long_public_id(testbase: EXPATBase): - name = "runtests_test_alloc_long_public_id" - testbase.run_case(name) - - -def test_runtests_test_alloc_long_entity_value(testbase: EXPATBase): - name = "runtests_test_alloc_long_entity_value" - testbase.run_case(name) - - -def test_runtests_test_alloc_long_notation(testbase: EXPATBase): - name = "runtests_test_alloc_long_notation" - testbase.run_case(name) - - -def test_runtests_test_misc_alloc_create_parser(testbase: EXPATBase): - name = "runtests_test_misc_alloc_create_parser" - testbase.run_case(name) - - -def test_runtests_test_misc_alloc_create_parser_with_encoding(testbase: EXPATBase): - name = "runtests_test_misc_alloc_create_parser_with_encoding" - testbase.run_case(name) - - -def test_runtests_test_misc_null_parser(testbase: EXPATBase): - name = "runtests_test_misc_null_parser" - testbase.run_case(name) - - -def test_runtests_test_misc_error_string(testbase: EXPATBase): - name = "runtests_test_misc_error_string" - testbase.run_case(name) - - -def test_runtests_test_misc_version(testbase: EXPATBase): - name = "runtests_test_misc_version" - testbase.run_case(name) - - -def test_runtests_test_misc_features(testbase: EXPATBase): - name = "runtests_test_misc_features" - testbase.run_case(name) - - -def test_runtests_test_misc_attribute_leak(testbase: EXPATBase): - name = "runtests_test_misc_attribute_leak" - testbase.run_case(name) - - -def test_runtests_test_misc_utf16le(testbase: EXPATBase): - name = "runtests_test_misc_utf16le" - testbase.run_case(name) - - -def test_runtests_test_misc_stop_during_end_handler_issue_240_1(testbase: EXPATBase): - name = "runtests_test_misc_stop_during_end_handler_issue_240_1" - testbase.run_case(name) - - -def test_runtests_test_misc_stop_during_end_handler_issue_240_2(testbase: EXPATBase): - name = "runtests_test_misc_stop_during_end_handler_issue_240_2" - testbase.run_case(name) - - -def test_runtests_test_misc_deny_internal_entity_closing_doctype_issue_317(testbase: EXPATBase): - name = "runtests_test_misc_deny_internal_entity_closing_doctype_issue_317" - testbase.run_case(name) - - -def test_runtests_test_return_ns_triplet(testbase: EXPATBase): - name = "runtests_test_return_ns_triplet" - testbase.run_case(name) - - -def test_runtests_test_ns_tagname_overwrite(testbase: EXPATBase): - name = "runtests_test_ns_tagname_overwrite" - testbase.run_case(name) - - -def test_runtests_test_ns_tagname_overwrite_triplet(testbase: EXPATBase): - name = "runtests_test_ns_tagname_overwrite_triplet" - testbase.run_case(name) - - -def test_runtests_test_start_ns_clears_start_element(testbase: EXPATBase): - name = "runtests_test_start_ns_clears_start_element" - testbase.run_case(name) - - -def test_runtests_test_default_ns_from_ext_subset_and_ext_ge(testbase: EXPATBase): - name = "runtests_test_default_ns_from_ext_subset_and_ext_ge" - testbase.run_case(name) - - -def test_runtests_test_ns_prefix_with_empty_uri_1(testbase: EXPATBase): - name = "runtests_test_ns_prefix_with_empty_uri_1" - testbase.run_case(name) - - -def test_runtests_test_ns_prefix_with_empty_uri_2(testbase: EXPATBase): - name = "runtests_test_ns_prefix_with_empty_uri_2" - testbase.run_case(name) - - -def test_runtests_test_ns_prefix_with_empty_uri_3(testbase: EXPATBase): - name = "runtests_test_ns_prefix_with_empty_uri_3" - testbase.run_case(name) - - -def test_runtests_test_ns_prefix_with_empty_uri_4(testbase: EXPATBase): - name = "runtests_test_ns_prefix_with_empty_uri_4" - testbase.run_case(name) - - -def test_runtests_test_ns_unbound_prefix(testbase: EXPATBase): - name = "runtests_test_ns_unbound_prefix" - testbase.run_case(name) - - -def test_runtests_test_ns_default_with_empty_uri(testbase: EXPATBase): - name = "runtests_test_ns_default_with_empty_uri" - testbase.run_case(name) - - -def test_runtests_test_ns_duplicate_attrs_diff_prefixes(testbase: EXPATBase): - name = "runtests_test_ns_duplicate_attrs_diff_prefixes" - testbase.run_case(name) - - -def test_runtests_test_ns_duplicate_hashes(testbase: EXPATBase): - name = "runtests_test_ns_duplicate_hashes" - testbase.run_case(name) - - -def test_runtests_test_ns_unbound_prefix_on_attribute(testbase: EXPATBase): - name = "runtests_test_ns_unbound_prefix_on_attribute" - testbase.run_case(name) - - -def test_runtests_test_ns_unbound_prefix_on_element(testbase: EXPATBase): - name = "runtests_test_ns_unbound_prefix_on_element" - testbase.run_case(name) - - -def test_runtests_test_return_ns_triplet_triggered_by_test_ns_parser_reset(testbase: EXPATBase): - name = "runtests_test_return_ns_triplet_triggered_by_test_ns_parser_reset" - testbase.run_case(name) - - -def test_runtests_test_ns_long_element(testbase: EXPATBase): - name = "runtests_test_ns_long_element" - testbase.run_case(name) - - -def test_runtests_test_ns_mixed_prefix_atts(testbase: EXPATBase): - name = "runtests_test_ns_mixed_prefix_atts" - testbase.run_case(name) - - -def test_runtests_test_ns_extend_uri_buffer(testbase: EXPATBase): - name = "runtests_test_ns_extend_uri_buffer" - testbase.run_case(name) - - -def test_runtests_test_ns_reserved_attributes(testbase: EXPATBase): - name = "runtests_test_ns_reserved_attributes" - testbase.run_case(name) - - -def test_runtests_test_ns_reserved_attributes_2(testbase: EXPATBase): - name = "runtests_test_ns_reserved_attributes_2" - testbase.run_case(name) - - -def test_runtests_test_ns_extremely_long_prefix(testbase: EXPATBase): - name = "runtests_test_ns_extremely_long_prefix" - testbase.run_case(name) - - -def test_runtests_test_ns_unknown_encoding_success(testbase: EXPATBase): - name = "runtests_test_ns_unknown_encoding_success" - testbase.run_case(name) - - -def test_runtests_test_ns_double_colon(testbase: EXPATBase): - name = "runtests_test_ns_double_colon" - testbase.run_case(name) - - -def test_runtests_test_ns_double_colon_element(testbase: EXPATBase): - name = "runtests_test_ns_double_colon_element" - testbase.run_case(name) - - -def test_runtests_test_ns_bad_attr_leafname(testbase: EXPATBase): - name = "runtests_test_ns_bad_attr_leafname" - testbase.run_case(name) - - -def test_runtests_test_ns_bad_element_leafname(testbase: EXPATBase): - name = "runtests_test_ns_bad_element_leafname" - testbase.run_case(name) - - -def test_runtests_test_ns_utf16_leafname(testbase: EXPATBase): - name = "runtests_test_ns_utf16_leafname" - testbase.run_case(name) - - -def test_runtests_test_ns_utf16_element_leafname(testbase: EXPATBase): - name = "runtests_test_ns_utf16_element_leafname" - testbase.run_case(name) - - -def test_runtests_test_ns_utf16_doctype(testbase: EXPATBase): - name = "runtests_test_ns_utf16_doctype" - testbase.run_case(name) - - -def test_runtests_test_ns_invalid_doctype(testbase: EXPATBase): - name = "runtests_test_ns_invalid_doctype" - testbase.run_case(name) - - -def test_runtests_test_ns_double_colon_doctype(testbase: EXPATBase): - name = "runtests_test_ns_double_colon_doctype" - testbase.run_case(name) - - -def test_runtests_test_ns_separator_in_uri(testbase: EXPATBase): - name = "runtests_test_ns_separator_in_uri" - testbase.run_case(name) - - -def test_runtests_test_nul_byte(testbase: EXPATBase): - name = "runtests_test_nul_byte" - testbase.run_case(name) - - -def test_runtests_test_u0000_char(testbase: EXPATBase): - name = "runtests_test_u0000_char" - testbase.run_case(name) - - -def test_runtests_test_siphash_self(testbase: EXPATBase): - name = "runtests_test_siphash_self" - testbase.run_case(name) - - -def test_runtests_test_siphash_spec(testbase: EXPATBase): - name = "runtests_test_siphash_spec" - testbase.run_case(name) - - -def test_runtests_test_bom_utf8(testbase: EXPATBase): - name = "runtests_test_bom_utf8" - testbase.run_case(name) - - -def test_runtests_test_bom_utf16_be(testbase: EXPATBase): - name = "runtests_test_bom_utf16_be" - testbase.run_case(name) - - -def test_runtests_test_bom_utf16_le(testbase: EXPATBase): - name = "runtests_test_bom_utf16_le" - testbase.run_case(name) - - -def test_runtests_test_nobom_utf16_le(testbase: EXPATBase): - name = "runtests_test_nobom_utf16_le" - testbase.run_case(name) - - -def test_runtests_test_illegal_utf8(testbase: EXPATBase): - name = "runtests_test_illegal_utf8" - testbase.run_case(name) - - -def test_runtests_test_utf8_auto_align(testbase: EXPATBase): - name = "runtests_test_utf8_auto_align" - testbase.run_case(name) - - -def test_runtests_test_utf16(testbase: EXPATBase): - name = "runtests_test_utf16" - testbase.run_case(name) - - -def test_runtests_test_utf16_le_epilog_newline(testbase: EXPATBase): - name = "runtests_test_utf16_le_epilog_newline" - testbase.run_case(name) - - -def test_runtests_test_not_utf16(testbase: EXPATBase): - name = "runtests_test_not_utf16" - testbase.run_case(name) - - -def test_runtests_test_bad_encoding(testbase: EXPATBase): - name = "runtests_test_bad_encoding" - testbase.run_case(name) - - -def test_runtests_test_latin1_umlauts(testbase: EXPATBase): - name = "runtests_test_latin1_umlauts" - testbase.run_case(name) - - -def test_runtests_test_long_utf8_character(testbase: EXPATBase): - name = "runtests_test_long_utf8_character" - testbase.run_case(name) - - -def test_runtests_test_long_latin1_attribute(testbase: EXPATBase): - name = "runtests_test_long_latin1_attribute" - testbase.run_case(name) - - -def test_runtests_test_long_ascii_attribute(testbase: EXPATBase): - name = "runtests_test_long_ascii_attribute" - testbase.run_case(name) - - -def test_runtests_test_danish_latin1(testbase: EXPATBase): - name = "runtests_test_danish_latin1" - testbase.run_case(name) - - -def test_runtests_test_french_charref_hexidecimal(testbase: EXPATBase): - name = "runtests_test_french_charref_hexidecimal" - testbase.run_case(name) - - -def test_runtests_test_french_charref_decimal(testbase: EXPATBase): - name = "runtests_test_french_charref_decimal" - testbase.run_case(name) - - -def test_runtests_test_french_latin1(testbase: EXPATBase): - name = "runtests_test_french_latin1" - testbase.run_case(name) - - -def test_runtests_test_french_utf8(testbase: EXPATBase): - name = "runtests_test_french_utf8" - testbase.run_case(name) - - -def test_runtests_test_utf8_false_rejection(testbase: EXPATBase): - name = "runtests_test_utf8_false_rejection" - testbase.run_case(name) - - -def test_runtests_test_line_number_after_parse(testbase: EXPATBase): - name = "runtests_test_line_number_after_parse" - testbase.run_case(name) - - -def test_runtests_test_column_number_after_parse(testbase: EXPATBase): - name = "runtests_test_column_number_after_parse" - testbase.run_case(name) - - -def test_runtests_test_line_and_column_numbers_inside_handlers(testbase: EXPATBase): - name = "runtests_test_line_and_column_numbers_inside_handlers" - testbase.run_case(name) - - -def test_runtests_test_line_number_after_error(testbase: EXPATBase): - name = "runtests_test_line_number_after_error" - testbase.run_case(name) - - -def test_runtests_test_column_number_after_error(testbase: EXPATBase): - name = "runtests_test_column_number_after_error" - testbase.run_case(name) - - -def test_runtests_test_really_long_lines(testbase: EXPATBase): - name = "runtests_test_really_long_lines" - testbase.run_case(name) - - -def test_runtests_test_really_long_encoded_lines(testbase: EXPATBase): - name = "runtests_test_really_long_encoded_lines" - testbase.run_case(name) - - -def test_runtests_test_end_element_events(testbase: EXPATBase): - name = "runtests_test_end_element_events" - testbase.run_case(name) - - -def test_runtests_test_attr_whitespace_normalization(testbase: EXPATBase): - name = "runtests_test_attr_whitespace_normalization" - testbase.run_case(name) - - -def test_runtests_test_xmldecl_misplaced(testbase: EXPATBase): - name = "runtests_test_xmldecl_misplaced" - testbase.run_case(name) - - -def test_runtests_test_xmldecl_invalid(testbase: EXPATBase): - name = "runtests_test_xmldecl_invalid" - testbase.run_case(name) - - -def test_runtests_test_xmldecl_missing_attr(testbase: EXPATBase): - name = "runtests_test_xmldecl_missing_attr" - testbase.run_case(name) - - -def test_runtests_test_xmldecl_missing_value(testbase: EXPATBase): - name = "runtests_test_xmldecl_missing_value" - testbase.run_case(name) - - -def test_runtests_test_unknown_encoding_internal_entity(testbase: EXPATBase): - name = "runtests_test_unknown_encoding_internal_entity" - testbase.run_case(name) - - -def test_runtests_test_unrecognised_encoding_internal_entity(testbase: EXPATBase): - name = "runtests_test_unrecognised_encoding_internal_entity" - testbase.run_case(name) - - -def test_runtests_test_wfc_undeclared_entity_unread_external_subset(testbase: EXPATBase): - name = "runtests_test_wfc_undeclared_entity_unread_external_subset" - testbase.run_case(name) - - -def test_runtests_test_wfc_undeclared_entity_no_external_subset(testbase: EXPATBase): - name = "runtests_test_wfc_undeclared_entity_no_external_subset" - testbase.run_case(name) - - -def test_runtests_test_wfc_undeclared_entity_standalone(testbase: EXPATBase): - name = "runtests_test_wfc_undeclared_entity_standalone" - testbase.run_case(name) - - -def test_runtests_test_wfc_undeclared_entity_with_external_subset(testbase: EXPATBase): - name = "runtests_test_wfc_undeclared_entity_with_external_subset" - testbase.run_case(name) - - -def test_runtests_test_not_standalone_handler_reject(testbase: EXPATBase): - name = "runtests_test_not_standalone_handler_reject" - testbase.run_case(name) - - -def test_runtests_test_not_standalone_handler_accept(testbase: EXPATBase): - name = "runtests_test_not_standalone_handler_accept" - testbase.run_case(name) - - -def test_runtests_test_wfc_undeclared_entity_with_external_subset_standalone(testbase: EXPATBase): - name = "runtests_test_wfc_undeclared_entity_with_external_subset_standalone" - testbase.run_case(name) - - -def test_runtests_test_entity_with_external_subset_unless_standalone(testbase: EXPATBase): - name = "runtests_test_entity_with_external_subset_unless_standalone" - testbase.run_case(name) - - -def test_runtests_test_wfc_no_recursive_entity_refs(testbase: EXPATBase): - name = "runtests_test_wfc_no_recursive_entity_refs" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_set_encoding(testbase: EXPATBase): - name = "runtests_test_ext_entity_set_encoding" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_no_handler(testbase: EXPATBase): - name = "runtests_test_ext_entity_no_handler" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_set_bom(testbase: EXPATBase): - name = "runtests_test_ext_entity_set_bom" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_bad_encoding(testbase: EXPATBase): - name = "runtests_test_ext_entity_bad_encoding" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_bad_encoding_2(testbase: EXPATBase): - name = "runtests_test_ext_entity_bad_encoding_2" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_invalid_parse(testbase: EXPATBase): - name = "runtests_test_ext_entity_invalid_parse" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_invalid_suspended_parse(testbase: EXPATBase): - name = "runtests_test_ext_entity_invalid_suspended_parse" - testbase.run_case(name) - - -def test_runtests_test_dtd_default_handling(testbase: EXPATBase): - name = "runtests_test_dtd_default_handling" - testbase.run_case(name) - - -def test_runtests_test_dtd_attr_handling(testbase: EXPATBase): - name = "runtests_test_dtd_attr_handling" - testbase.run_case(name) - - -def test_runtests_test_empty_ns_without_namespaces(testbase: EXPATBase): - name = "runtests_test_empty_ns_without_namespaces" - testbase.run_case(name) - - -def test_runtests_test_ns_in_attribute_default_without_namespaces(testbase: EXPATBase): - name = "runtests_test_ns_in_attribute_default_without_namespaces" - testbase.run_case(name) - - -def test_runtests_test_stop_parser_between_char_data_calls(testbase: EXPATBase): - name = "runtests_test_stop_parser_between_char_data_calls" - testbase.run_case(name) - - -def test_runtests_test_suspend_parser_between_char_data_calls(testbase: EXPATBase): - name = "runtests_test_suspend_parser_between_char_data_calls" - testbase.run_case(name) - - -def test_runtests_test_repeated_stop_parser_between_char_data_calls(testbase: EXPATBase): - name = "runtests_test_repeated_stop_parser_between_char_data_calls" - testbase.run_case(name) - - -def test_runtests_test_good_cdata_ascii(testbase: EXPATBase): - name = "runtests_test_good_cdata_ascii" - testbase.run_case(name) - - -def test_runtests_test_good_cdata_utf16(testbase: EXPATBase): - name = "runtests_test_good_cdata_utf16" - testbase.run_case(name) - - -def test_runtests_test_good_cdata_utf16_le(testbase: EXPATBase): - name = "runtests_test_good_cdata_utf16_le" - testbase.run_case(name) - - -def test_runtests_test_long_cdata_utf16(testbase: EXPATBase): - name = "runtests_test_long_cdata_utf16" - testbase.run_case(name) - - -def test_runtests_test_multichar_cdata_utf16(testbase: EXPATBase): - name = "runtests_test_multichar_cdata_utf16" - testbase.run_case(name) - - -def test_runtests_test_utf16_bad_surrogate_pair(testbase: EXPATBase): - name = "runtests_test_utf16_bad_surrogate_pair" - testbase.run_case(name) - - -def test_runtests_test_bad_cdata(testbase: EXPATBase): - name = "runtests_test_bad_cdata" - testbase.run_case(name) - - -def test_runtests_test_bad_cdata_utf16(testbase: EXPATBase): - name = "runtests_test_bad_cdata_utf16" - testbase.run_case(name) - - -def test_runtests_test_stop_parser_between_cdata_calls(testbase: EXPATBase): - name = "runtests_test_stop_parser_between_cdata_calls" - testbase.run_case(name) - - -def test_runtests_test_suspend_parser_between_cdata_calls(testbase: EXPATBase): - name = "runtests_test_suspend_parser_between_cdata_calls" - testbase.run_case(name) - - -def test_runtests_test_memory_allocation(testbase: EXPATBase): - name = "runtests_test_memory_allocation" - testbase.run_case(name) - - -def test_runtests_test_default_current(testbase: EXPATBase): - name = "runtests_test_default_current" - testbase.run_case(name) - - -def test_runtests_test_dtd_elements(testbase: EXPATBase): - name = "runtests_test_dtd_elements" - testbase.run_case(name) - - -def test_runtests_test_dtd_elements_nesting(testbase: EXPATBase): - name = "runtests_test_dtd_elements_nesting" - testbase.run_case(name) - - -def test_runtests_test_set_foreign_dtd(testbase: EXPATBase): - name = "runtests_test_set_foreign_dtd" - testbase.run_case(name) - - -def test_runtests_test_foreign_dtd_not_standalone(testbase: EXPATBase): - name = "runtests_test_foreign_dtd_not_standalone" - testbase.run_case(name) - - -def test_runtests_test_invalid_foreign_dtd(testbase: EXPATBase): - name = "runtests_test_invalid_foreign_dtd" - testbase.run_case(name) - - -def test_runtests_test_foreign_dtd_with_doctype(testbase: EXPATBase): - name = "runtests_test_foreign_dtd_with_doctype" - testbase.run_case(name) - - -def test_runtests_test_foreign_dtd_without_external_subset(testbase: EXPATBase): - name = "runtests_test_foreign_dtd_without_external_subset" - testbase.run_case(name) - - -def test_runtests_test_empty_foreign_dtd(testbase: EXPATBase): - name = "runtests_test_empty_foreign_dtd" - testbase.run_case(name) - - -def test_runtests_test_set_base(testbase: EXPATBase): - name = "runtests_test_set_base" - testbase.run_case(name) - - -def test_runtests_test_attributes(testbase: EXPATBase): - name = "runtests_test_attributes" - testbase.run_case(name) - - -def test_runtests_test_reset_in_entity(testbase: EXPATBase): - name = "runtests_test_reset_in_entity" - testbase.run_case(name) - - -def test_runtests_test_resume_invalid_parse(testbase: EXPATBase): - name = "runtests_test_resume_invalid_parse" - testbase.run_case(name) - - -def test_runtests_test_resume_resuspended(testbase: EXPATBase): - name = "runtests_test_resume_resuspended" - testbase.run_case(name) - - -def test_runtests_test_cdata_default(testbase: EXPATBase): - name = "runtests_test_cdata_default" - testbase.run_case(name) - - -def test_runtests_test_subordinate_reset(testbase: EXPATBase): - name = "runtests_test_subordinate_reset" - testbase.run_case(name) - - -def test_runtests_test_subordinate_suspend(testbase: EXPATBase): - name = "runtests_test_subordinate_suspend" - testbase.run_case(name) - - -def test_runtests_test_subordinate_xdecl_suspend(testbase: EXPATBase): - name = "runtests_test_subordinate_xdecl_suspend" - testbase.run_case(name) - - -def test_runtests_test_subordinate_xdecl_abort(testbase: EXPATBase): - name = "runtests_test_subordinate_xdecl_abort" - testbase.run_case(name) - - -def test_runtests_test_explicit_encoding(testbase: EXPATBase): - name = "runtests_test_explicit_encoding" - testbase.run_case(name) - - -def test_runtests_test_trailing_cr(testbase: EXPATBase): - name = "runtests_test_trailing_cr" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_trailing_cr(testbase: EXPATBase): - name = "runtests_test_ext_entity_trailing_cr" - testbase.run_case(name) - - -def test_runtests_test_trailing_rsqb(testbase: EXPATBase): - name = "runtests_test_trailing_rsqb" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_trailing_rsqb(testbase: EXPATBase): - name = "runtests_test_ext_entity_trailing_rsqb" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_good_cdata(testbase: EXPATBase): - name = "runtests_test_ext_entity_good_cdata" - testbase.run_case(name) - - -def test_runtests_test_user_parameters(testbase: EXPATBase): - name = "runtests_test_user_parameters" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_ref_parameter(testbase: EXPATBase): - name = "runtests_test_ext_entity_ref_parameter" - testbase.run_case(name) - - -def test_runtests_test_empty_parse(testbase: EXPATBase): - name = "runtests_test_empty_parse" - testbase.run_case(name) - - -def test_runtests_test_get_buffer_1(testbase: EXPATBase): - name = "runtests_test_get_buffer_1" - testbase.run_case(name) - - -def test_runtests_test_get_buffer_2(testbase: EXPATBase): - name = "runtests_test_get_buffer_2" - testbase.run_case(name) - - -def test_runtests_test_get_buffer_3_overflow(testbase: EXPATBase): - name = "runtests_test_get_buffer_3_overflow" - testbase.run_case(name) - - -def test_runtests_test_byte_info_at_end(testbase: EXPATBase): - name = "runtests_test_byte_info_at_end" - testbase.run_case(name) - - -def test_runtests_test_byte_info_at_error(testbase: EXPATBase): - name = "runtests_test_byte_info_at_error" - testbase.run_case(name) - - -def test_runtests_test_byte_info_at_cdata(testbase: EXPATBase): - name = "runtests_test_byte_info_at_cdata" - testbase.run_case(name) - - -def test_runtests_test_predefined_entities(testbase: EXPATBase): - name = "runtests_test_predefined_entities" - testbase.run_case(name) - - -def test_runtests_test_invalid_tag_in_dtd(testbase: EXPATBase): - name = "runtests_test_invalid_tag_in_dtd" - testbase.run_case(name) - - -def test_runtests_test_not_predefined_entities(testbase: EXPATBase): - name = "runtests_test_not_predefined_entities" - testbase.run_case(name) - - -def test_runtests_test_ignore_section(testbase: EXPATBase): - name = "runtests_test_ignore_section" - testbase.run_case(name) - - -def test_runtests_test_ignore_section_utf16(testbase: EXPATBase): - name = "runtests_test_ignore_section_utf16" - testbase.run_case(name) - - -def test_runtests_test_ignore_section_utf16_be(testbase: EXPATBase): - name = "runtests_test_ignore_section_utf16_be" - testbase.run_case(name) - - -def test_runtests_test_bad_ignore_section(testbase: EXPATBase): - name = "runtests_test_bad_ignore_section" - testbase.run_case(name) - - -def test_runtests_test_external_entity_values(testbase: EXPATBase): - name = "runtests_test_external_entity_values" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_not_standalone(testbase: EXPATBase): - name = "runtests_test_ext_entity_not_standalone" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_value_abort(testbase: EXPATBase): - name = "runtests_test_ext_entity_value_abort" - testbase.run_case(name) - - -def test_runtests_test_bad_public_doctype(testbase: EXPATBase): - name = "runtests_test_bad_public_doctype" - testbase.run_case(name) - - -def test_runtests_test_attribute_enum_value(testbase: EXPATBase): - name = "runtests_test_attribute_enum_value" - testbase.run_case(name) - - -def test_runtests_test_predefined_entity_redefinition(testbase: EXPATBase): - name = "runtests_test_predefined_entity_redefinition" - testbase.run_case(name) - - -def test_runtests_test_dtd_stop_processing(testbase: EXPATBase): - name = "runtests_test_dtd_stop_processing" - testbase.run_case(name) - - -def test_runtests_test_public_notation_no_sysid(testbase: EXPATBase): - name = "runtests_test_public_notation_no_sysid" - testbase.run_case(name) - - -def test_runtests_test_nested_groups(testbase: EXPATBase): - name = "runtests_test_nested_groups" - testbase.run_case(name) - - -def test_runtests_test_group_choice(testbase: EXPATBase): - name = "runtests_test_group_choice" - testbase.run_case(name) - - -def test_runtests_test_standalone_parameter_entity(testbase: EXPATBase): - name = "runtests_test_standalone_parameter_entity" - testbase.run_case(name) - - -def test_runtests_test_skipped_parameter_entity(testbase: EXPATBase): - name = "runtests_test_skipped_parameter_entity" - testbase.run_case(name) - - -def test_runtests_test_recursive_external_parameter_entity(testbase: EXPATBase): - name = "runtests_test_recursive_external_parameter_entity" - testbase.run_case(name) - - -def test_runtests_test_undefined_ext_entity_in_external_dtd(testbase: EXPATBase): - name = "runtests_test_undefined_ext_entity_in_external_dtd" - testbase.run_case(name) - - -def test_runtests_test_suspend_xdecl(testbase: EXPATBase): - name = "runtests_test_suspend_xdecl" - testbase.run_case(name) - - -def test_runtests_test_abort_epilog(testbase: EXPATBase): - name = "runtests_test_abort_epilog" - testbase.run_case(name) - - -def test_runtests_test_abort_epilog_2(testbase: EXPATBase): - name = "runtests_test_abort_epilog_2" - testbase.run_case(name) - - -def test_runtests_test_suspend_epilog(testbase: EXPATBase): - name = "runtests_test_suspend_epilog" - testbase.run_case(name) - - -def test_runtests_test_suspend_in_sole_empty_tag(testbase: EXPATBase): - name = "runtests_test_suspend_in_sole_empty_tag" - testbase.run_case(name) - - -def test_runtests_test_unfinished_epilog(testbase: EXPATBase): - name = "runtests_test_unfinished_epilog" - testbase.run_case(name) - - -def test_runtests_test_partial_char_in_epilog(testbase: EXPATBase): - name = "runtests_test_partial_char_in_epilog" - testbase.run_case(name) - - -def test_runtests_test_hash_collision(testbase: EXPATBase): - name = "runtests_test_hash_collision" - testbase.run_case(name) - - -def test_runtests_test_suspend_resume_internal_entity(testbase: EXPATBase): - name = "runtests_test_suspend_resume_internal_entity" - testbase.run_case(name) - - -def test_runtests_test_resume_entity_with_syntax_error(testbase: EXPATBase): - name = "runtests_test_resume_entity_with_syntax_error" - testbase.run_case(name) - - -def test_runtests_test_suspend_resume_parameter_entity(testbase: EXPATBase): - name = "runtests_test_suspend_resume_parameter_entity" - testbase.run_case(name) - - -def test_runtests_test_restart_on_error(testbase: EXPATBase): - name = "runtests_test_restart_on_error" - testbase.run_case(name) - - -def test_runtests_test_reject_lt_in_attribute_value(testbase: EXPATBase): - name = "runtests_test_reject_lt_in_attribute_value" - testbase.run_case(name) - - -def test_runtests_test_reject_unfinished_param_in_att_value(testbase: EXPATBase): - name = "runtests_test_reject_unfinished_param_in_att_value" - testbase.run_case(name) - - -def test_runtests_test_trailing_cr_in_att_value(testbase: EXPATBase): - name = "runtests_test_trailing_cr_in_att_value" - testbase.run_case(name) - - -def test_runtests_test_standalone_internal_entity(testbase: EXPATBase): - name = "runtests_test_standalone_internal_entity" - testbase.run_case(name) - - -def test_runtests_test_skipped_external_entity(testbase: EXPATBase): - name = "runtests_test_skipped_external_entity" - testbase.run_case(name) - - -def test_runtests_test_skipped_null_loaded_ext_entity(testbase: EXPATBase): - name = "runtests_test_skipped_null_loaded_ext_entity" - testbase.run_case(name) - - -def test_runtests_test_skipped_unloaded_ext_entity(testbase: EXPATBase): - name = "runtests_test_skipped_unloaded_ext_entity" - testbase.run_case(name) - - -def test_runtests_test_param_entity_with_trailing_cr(testbase: EXPATBase): - name = "runtests_test_param_entity_with_trailing_cr" - testbase.run_case(name) - - -def test_runtests_test_invalid_character_entity(testbase: EXPATBase): - name = "runtests_test_invalid_character_entity" - testbase.run_case(name) - - -def test_runtests_test_invalid_character_entity_2(testbase: EXPATBase): - name = "runtests_test_invalid_character_entity_2" - testbase.run_case(name) - - -def test_runtests_test_invalid_character_entity_3(testbase: EXPATBase): - name = "runtests_test_invalid_character_entity_3" - testbase.run_case(name) - - -def test_runtests_test_invalid_character_entity_4(testbase: EXPATBase): - name = "runtests_test_invalid_character_entity_4" - testbase.run_case(name) - - -def test_runtests_test_pi_handled_in_default(testbase: EXPATBase): - name = "runtests_test_pi_handled_in_default" - testbase.run_case(name) - - -def test_runtests_test_comment_handled_in_default(testbase: EXPATBase): - name = "runtests_test_comment_handled_in_default" - testbase.run_case(name) - - -def test_runtests_test_pi_yml(testbase: EXPATBase): - name = "runtests_test_pi_yml" - testbase.run_case(name) - - -def test_runtests_test_pi_xnl(testbase: EXPATBase): - name = "runtests_test_pi_xnl" - testbase.run_case(name) - - -def test_runtests_test_pi_xmm(testbase: EXPATBase): - name = "runtests_test_pi_xmm" - testbase.run_case(name) - - -def test_runtests_test_utf16_pi(testbase: EXPATBase): - name = "runtests_test_utf16_pi" - testbase.run_case(name) - - -def test_runtests_test_utf16_be_pi(testbase: EXPATBase): - name = "runtests_test_utf16_be_pi" - testbase.run_case(name) - - -def test_runtests_test_utf16_be_comment(testbase: EXPATBase): - name = "runtests_test_utf16_be_comment" - testbase.run_case(name) - - -def test_runtests_test_utf16_le_comment(testbase: EXPATBase): - name = "runtests_test_utf16_le_comment" - testbase.run_case(name) - - -def test_runtests_test_missing_encoding_conversion_fn(testbase: EXPATBase): - name = "runtests_test_missing_encoding_conversion_fn" - testbase.run_case(name) - - -def test_runtests_test_failing_encoding_conversion_fn(testbase: EXPATBase): - name = "runtests_test_failing_encoding_conversion_fn" - testbase.run_case(name) - - -def test_runtests_test_unknown_encoding_success(testbase: EXPATBase): - name = "runtests_test_unknown_encoding_success" - testbase.run_case(name) - - -def test_runtests_test_unknown_encoding_bad_name(testbase: EXPATBase): - name = "runtests_test_unknown_encoding_bad_name" - testbase.run_case(name) - - -def test_runtests_test_unknown_encoding_bad_name_2(testbase: EXPATBase): - name = "runtests_test_unknown_encoding_bad_name_2" - testbase.run_case(name) - - -def test_runtests_test_unknown_encoding_long_name_1(testbase: EXPATBase): - name = "runtests_test_unknown_encoding_long_name_1" - testbase.run_case(name) - - -def test_runtests_test_unknown_encoding_long_name_2(testbase: EXPATBase): - name = "runtests_test_unknown_encoding_long_name_2" - testbase.run_case(name) - - -def test_runtests_test_invalid_unknown_encoding(testbase: EXPATBase): - name = "runtests_test_invalid_unknown_encoding" - testbase.run_case(name) - - -def test_runtests_test_unknown_ascii_encoding_ok(testbase: EXPATBase): - name = "runtests_test_unknown_ascii_encoding_ok" - testbase.run_case(name) - - -def test_runtests_test_unknown_ascii_encoding_fail(testbase: EXPATBase): - name = "runtests_test_unknown_ascii_encoding_fail" - testbase.run_case(name) - - -def test_runtests_test_unknown_encoding_invalid_length(testbase: EXPATBase): - name = "runtests_test_unknown_encoding_invalid_length" - testbase.run_case(name) - - -def test_runtests_test_unknown_encoding_invalid_topbit(testbase: EXPATBase): - name = "runtests_test_unknown_encoding_invalid_topbit" - testbase.run_case(name) - - -def test_runtests_test_unknown_encoding_invalid_surrogate(testbase: EXPATBase): - name = "runtests_test_unknown_encoding_invalid_surrogate" - testbase.run_case(name) - - -def test_runtests_test_unknown_encoding_invalid_high(testbase: EXPATBase): - name = "runtests_test_unknown_encoding_invalid_high" - testbase.run_case(name) - - -def test_runtests_test_unknown_encoding_invalid_attr_value(testbase: EXPATBase): - name = "runtests_test_unknown_encoding_invalid_attr_value" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_latin1_utf16le_bom(testbase: EXPATBase): - name = "runtests_test_ext_entity_latin1_utf16le_bom" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_latin1_utf16be_bom(testbase: EXPATBase): - name = "runtests_test_ext_entity_latin1_utf16be_bom" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_latin1_utf16le_bom2(testbase: EXPATBase): - name = "runtests_test_ext_entity_latin1_utf16le_bom2" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_latin1_utf16be_bom2(testbase: EXPATBase): - name = "runtests_test_ext_entity_latin1_utf16be_bom2" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_utf16_be(testbase: EXPATBase): - name = "runtests_test_ext_entity_utf16_be" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_utf16_le(testbase: EXPATBase): - name = "runtests_test_ext_entity_utf16_le" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_utf16_unknown(testbase: EXPATBase): - name = "runtests_test_ext_entity_utf16_unknown" - testbase.run_case(name) - - -def test_runtests_test_ext_entity_utf8_non_bom(testbase: EXPATBase): - name = "runtests_test_ext_entity_utf8_non_bom" - testbase.run_case(name) - - -def test_runtests_test_utf8_in_cdata_section(testbase: EXPATBase): - name = "runtests_test_utf8_in_cdata_section" - testbase.run_case(name) - - -def test_runtests_test_utf8_in_cdata_section_2(testbase: EXPATBase): - name = "runtests_test_utf8_in_cdata_section_2" - testbase.run_case(name) - - -def test_runtests_test_utf8_in_start_tags(testbase: EXPATBase): - name = "runtests_test_utf8_in_start_tags" - testbase.run_case(name) - - -def test_runtests_test_trailing_spaces_in_elements(testbase: EXPATBase): - name = "runtests_test_trailing_spaces_in_elements" - testbase.run_case(name) - - -def test_runtests_test_utf16_attribute(testbase: EXPATBase): - name = "runtests_test_utf16_attribute" - testbase.run_case(name) - - -def test_runtests_test_utf16_second_attr(testbase: EXPATBase): - name = "runtests_test_utf16_second_attr" - testbase.run_case(name) - - -def test_runtests_test_attr_after_solidus(testbase: EXPATBase): - name = "runtests_test_attr_after_solidus" - testbase.run_case(name) - - -def test_runtests_test_utf16_pe(testbase: EXPATBase): - name = "runtests_test_utf16_pe" - testbase.run_case(name) - - -def test_runtests_test_bad_attr_desc_keyword(testbase: EXPATBase): - name = "runtests_test_bad_attr_desc_keyword" - testbase.run_case(name) - - -def test_runtests_test_bad_attr_desc_keyword_utf16(testbase: EXPATBase): - name = "runtests_test_bad_attr_desc_keyword_utf16" - testbase.run_case(name) - - -def test_runtests_test_bad_doctype(testbase: EXPATBase): - name = "runtests_test_bad_doctype" - testbase.run_case(name) - - -def test_runtests_test_bad_doctype_utf8(testbase: EXPATBase): - name = "runtests_test_bad_doctype_utf8" - testbase.run_case(name) - - -def test_runtests_test_bad_doctype_utf16(testbase: EXPATBase): - name = "runtests_test_bad_doctype_utf16" - testbase.run_case(name) - - -def test_runtests_test_bad_doctype_plus(testbase: EXPATBase): - name = "runtests_test_bad_doctype_plus" - testbase.run_case(name) - - -def test_runtests_test_bad_doctype_star(testbase: EXPATBase): - name = "runtests_test_bad_doctype_star" - testbase.run_case(name) - - -def test_runtests_test_bad_doctype_query(testbase: EXPATBase): - name = "runtests_test_bad_doctype_query" - testbase.run_case(name) - - -def test_runtests_test_unknown_encoding_bad_ignore(testbase: EXPATBase): - name = "runtests_test_unknown_encoding_bad_ignore" - testbase.run_case(name) - - -def test_runtests_test_entity_in_utf16_be_attr(testbase: EXPATBase): - name = "runtests_test_entity_in_utf16_be_attr" - testbase.run_case(name) - - -def test_runtests_test_entity_in_utf16_le_attr(testbase: EXPATBase): - name = "runtests_test_entity_in_utf16_le_attr" - testbase.run_case(name) - - -def test_runtests_test_entity_public_utf16_be(testbase: EXPATBase): - name = "runtests_test_entity_public_utf16_be" - testbase.run_case(name) - - -def test_runtests_test_entity_public_utf16_le(testbase: EXPATBase): - name = "runtests_test_entity_public_utf16_le" - testbase.run_case(name) - - -def test_runtests_test_short_doctype(testbase: EXPATBase): - name = "runtests_test_short_doctype" - testbase.run_case(name) - - -def test_runtests_test_short_doctype_2(testbase: EXPATBase): - name = "runtests_test_short_doctype_2" - testbase.run_case(name) - - -def test_runtests_test_short_doctype_3(testbase: EXPATBase): - name = "runtests_test_short_doctype_3" - testbase.run_case(name) - - -def test_runtests_test_long_doctype(testbase: EXPATBase): - name = "runtests_test_long_doctype" - testbase.run_case(name) - - -def test_runtests_test_bad_entity(testbase: EXPATBase): - name = "runtests_test_bad_entity" - testbase.run_case(name) - - -def test_runtests_test_bad_entity_2(testbase: EXPATBase): - name = "runtests_test_bad_entity_2" - testbase.run_case(name) - - -def test_runtests_test_bad_entity_3(testbase: EXPATBase): - name = "runtests_test_bad_entity_3" - testbase.run_case(name) - - -def test_runtests_test_bad_entity_4(testbase: EXPATBase): - name = "runtests_test_bad_entity_4" - testbase.run_case(name) - - -def test_runtests_test_bad_notation(testbase: EXPATBase): - name = "runtests_test_bad_notation" - testbase.run_case(name) - - -def test_runtests_test_default_doctype_handler(testbase: EXPATBase): - name = "runtests_test_default_doctype_handler" - testbase.run_case(name) - - -def test_runtests_test_empty_element_abort(testbase: EXPATBase): - name = "runtests_test_empty_element_abort" - testbase.run_case(name) - - -def test_runtestspp_test_accounting_precision(testbase: EXPATBase): - name = "runtestspp_test_accounting_precision" - testbase.run_case(name) - - -def test_runtestspp_test_billion_laughs_attack_protection_api(testbase: EXPATBase): - name = "runtestspp_test_billion_laughs_attack_protection_api" - testbase.run_case(name) - - -def test_runtestspp_test_helper_unsigned_char_to_printable(testbase: EXPATBase): - name = "runtestspp_test_helper_unsigned_char_to_printable" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_xmlns(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_xmlns" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_parse_buffer(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_parse_buffer" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_long_prefix(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_long_prefix" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_long_uri(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_long_uri" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_long_attr(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_long_attr" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_long_attr_prefix(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_long_attr_prefix" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_realloc_attributes(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_realloc_attributes" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_long_element(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_long_element" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_realloc_binding_uri(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_realloc_binding_uri" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_realloc_long_prefix(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_realloc_long_prefix" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_realloc_longer_prefix(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_realloc_longer_prefix" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_long_namespace(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_long_namespace" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_less_long_namespace(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_less_long_namespace" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_long_context(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_long_context" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_realloc_long_context(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_realloc_long_context" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_realloc_long_context_2(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_realloc_long_context_2" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_realloc_long_context_3(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_realloc_long_context_3" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_realloc_long_context_4(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_realloc_long_context_4" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_realloc_long_context_5(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_realloc_long_context_5" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_realloc_long_context_6(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_realloc_long_context_6" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_realloc_long_context_7(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_realloc_long_context_7" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_realloc_long_ge_name(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_realloc_long_ge_name" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_realloc_long_context_in_dtd(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_realloc_long_context_in_dtd" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_long_default_in_ext(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_long_default_in_ext" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_long_systemid_in_ext(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_long_systemid_in_ext" - testbase.run_case(name) - - -def test_runtestspp_test_nsalloc_prefixed_element(testbase: EXPATBase): - name = "runtestspp_test_nsalloc_prefixed_element" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_parse_xdecl(testbase: EXPATBase): - name = "runtestspp_test_alloc_parse_xdecl" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_parse_xdecl_2(testbase: EXPATBase): - name = "runtestspp_test_alloc_parse_xdecl_2" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_parse_pi(testbase: EXPATBase): - name = "runtestspp_test_alloc_parse_pi" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_parse_pi_2(testbase: EXPATBase): - name = "runtestspp_test_alloc_parse_pi_2" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_parse_pi_3(testbase: EXPATBase): - name = "runtestspp_test_alloc_parse_pi_3" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_parse_comment(testbase: EXPATBase): - name = "runtestspp_test_alloc_parse_comment" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_parse_comment_2(testbase: EXPATBase): - name = "runtestspp_test_alloc_parse_comment_2" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_create_external_parser(testbase: EXPATBase): - name = "runtestspp_test_alloc_create_external_parser" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_run_external_parser(testbase: EXPATBase): - name = "runtestspp_test_alloc_run_external_parser" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_dtd_copy_default_atts(testbase: EXPATBase): - name = "runtestspp_test_alloc_dtd_copy_default_atts" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_external_entity(testbase: EXPATBase): - name = "runtestspp_test_alloc_external_entity" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_ext_entity_set_encoding(testbase: EXPATBase): - name = "runtestspp_test_alloc_ext_entity_set_encoding" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_internal_entity(testbase: EXPATBase): - name = "runtestspp_test_alloc_internal_entity" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_dtd_default_handling(testbase: EXPATBase): - name = "runtestspp_test_alloc_dtd_default_handling" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_explicit_encoding(testbase: EXPATBase): - name = "runtestspp_test_alloc_explicit_encoding" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_set_base(testbase: EXPATBase): - name = "runtestspp_test_alloc_set_base" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_realloc_buffer(testbase: EXPATBase): - name = "runtestspp_test_alloc_realloc_buffer" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_ext_entity_realloc_buffer(testbase: EXPATBase): - name = "runtestspp_test_alloc_ext_entity_realloc_buffer" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_realloc_many_attributes(testbase: EXPATBase): - name = "runtestspp_test_alloc_realloc_many_attributes" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_public_entity_value(testbase: EXPATBase): - name = "runtestspp_test_alloc_public_entity_value" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_realloc_subst_public_entity_value(testbase: EXPATBase): - name = "runtestspp_test_alloc_realloc_subst_public_entity_value" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_parse_public_doctype(testbase: EXPATBase): - name = "runtestspp_test_alloc_parse_public_doctype" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_parse_public_doctype_long_name(testbase: EXPATBase): - name = "runtestspp_test_alloc_parse_public_doctype_long_name" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_set_foreign_dtd(testbase: EXPATBase): - name = "runtestspp_test_alloc_set_foreign_dtd" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_attribute_enum_value(testbase: EXPATBase): - name = "runtestspp_test_alloc_attribute_enum_value" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_realloc_attribute_enum_value(testbase: EXPATBase): - name = "runtestspp_test_alloc_realloc_attribute_enum_value" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_realloc_implied_attribute(testbase: EXPATBase): - name = "runtestspp_test_alloc_realloc_implied_attribute" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_realloc_default_attribute(testbase: EXPATBase): - name = "runtestspp_test_alloc_realloc_default_attribute" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_notation(testbase: EXPATBase): - name = "runtestspp_test_alloc_notation" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_public_notation(testbase: EXPATBase): - name = "runtestspp_test_alloc_public_notation" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_system_notation(testbase: EXPATBase): - name = "runtestspp_test_alloc_system_notation" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_nested_groups(testbase: EXPATBase): - name = "runtestspp_test_alloc_nested_groups" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_realloc_nested_groups(testbase: EXPATBase): - name = "runtestspp_test_alloc_realloc_nested_groups" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_large_group(testbase: EXPATBase): - name = "runtestspp_test_alloc_large_group" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_realloc_group_choice(testbase: EXPATBase): - name = "runtestspp_test_alloc_realloc_group_choice" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_pi_in_epilog(testbase: EXPATBase): - name = "runtestspp_test_alloc_pi_in_epilog" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_comment_in_epilog(testbase: EXPATBase): - name = "runtestspp_test_alloc_comment_in_epilog" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_realloc_long_attribute_value(testbase: EXPATBase): - name = "runtestspp_test_alloc_realloc_long_attribute_value" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_attribute_whitespace(testbase: EXPATBase): - name = "runtestspp_test_alloc_attribute_whitespace" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_attribute_predefined_entity(testbase: EXPATBase): - name = "runtestspp_test_alloc_attribute_predefined_entity" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_long_attr_default_with_char_ref(testbase: EXPATBase): - name = "runtestspp_test_alloc_long_attr_default_with_char_ref" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_long_attr_value(testbase: EXPATBase): - name = "runtestspp_test_alloc_long_attr_value" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_nested_entities(testbase: EXPATBase): - name = "runtestspp_test_alloc_nested_entities" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_realloc_param_entity_newline(testbase: EXPATBase): - name = "runtestspp_test_alloc_realloc_param_entity_newline" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_realloc_ce_extends_pe(testbase: EXPATBase): - name = "runtestspp_test_alloc_realloc_ce_extends_pe" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_realloc_attributes(testbase: EXPATBase): - name = "runtestspp_test_alloc_realloc_attributes" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_long_doc_name(testbase: EXPATBase): - name = "runtestspp_test_alloc_long_doc_name" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_long_base(testbase: EXPATBase): - name = "runtestspp_test_alloc_long_base" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_long_public_id(testbase: EXPATBase): - name = "runtestspp_test_alloc_long_public_id" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_long_entity_value(testbase: EXPATBase): - name = "runtestspp_test_alloc_long_entity_value" - testbase.run_case(name) - - -def test_runtestspp_test_alloc_long_notation(testbase: EXPATBase): - name = "runtestspp_test_alloc_long_notation" - testbase.run_case(name) - - -def test_runtestspp_test_misc_alloc_create_parser(testbase: EXPATBase): - name = "runtestspp_test_misc_alloc_create_parser" - testbase.run_case(name) - - -def test_runtestspp_test_misc_alloc_create_parser_with_encoding(testbase: EXPATBase): - name = "runtestspp_test_misc_alloc_create_parser_with_encoding" - testbase.run_case(name) - - -def test_runtestspp_test_misc_null_parser(testbase: EXPATBase): - name = "runtestspp_test_misc_null_parser" - testbase.run_case(name) - - -def test_runtestspp_test_misc_error_string(testbase: EXPATBase): - name = "runtestspp_test_misc_error_string" - testbase.run_case(name) - - -def test_runtestspp_test_misc_version(testbase: EXPATBase): - name = "runtestspp_test_misc_version" - testbase.run_case(name) - - -def test_runtestspp_test_misc_features(testbase: EXPATBase): - name = "runtestspp_test_misc_features" - testbase.run_case(name) - - -def test_runtestspp_test_misc_attribute_leak(testbase: EXPATBase): - name = "runtestspp_test_misc_attribute_leak" - testbase.run_case(name) - - -def test_runtestspp_test_misc_utf16le(testbase: EXPATBase): - name = "runtestspp_test_misc_utf16le" - testbase.run_case(name) - - -def test_runtestspp_test_misc_stop_during_end_handler_issue_240_1(testbase: EXPATBase): - name = "runtestspp_test_misc_stop_during_end_handler_issue_240_1" - testbase.run_case(name) - - -def test_runtestspp_test_misc_stop_during_end_handler_issue_240_2(testbase: EXPATBase): - name = "runtestspp_test_misc_stop_during_end_handler_issue_240_2" - testbase.run_case(name) - - -def test_runtestspp_test_misc_deny_internal_entity_closing_doctype_issue_317(testbase: EXPATBase): - name = "runtestspp_test_misc_deny_internal_entity_closing_doctype_issue_317" - testbase.run_case(name) - - -def test_runtestspp_test_return_ns_triplet(testbase: EXPATBase): - name = "runtestspp_test_return_ns_triplet" - testbase.run_case(name) - - -def test_runtestspp_test_ns_tagname_overwrite(testbase: EXPATBase): - name = "runtestspp_test_ns_tagname_overwrite" - testbase.run_case(name) - - -def test_runtestspp_test_ns_tagname_overwrite_triplet(testbase: EXPATBase): - name = "runtestspp_test_ns_tagname_overwrite_triplet" - testbase.run_case(name) - - -def test_runtestspp_test_start_ns_clears_start_element(testbase: EXPATBase): - name = "runtestspp_test_start_ns_clears_start_element" - testbase.run_case(name) - - -def test_runtestspp_test_default_ns_from_ext_subset_and_ext_ge(testbase: EXPATBase): - name = "runtestspp_test_default_ns_from_ext_subset_and_ext_ge" - testbase.run_case(name) - - -def test_runtestspp_test_ns_prefix_with_empty_uri_1(testbase: EXPATBase): - name = "runtestspp_test_ns_prefix_with_empty_uri_1" - testbase.run_case(name) - - -def test_runtestspp_test_ns_prefix_with_empty_uri_2(testbase: EXPATBase): - name = "runtestspp_test_ns_prefix_with_empty_uri_2" - testbase.run_case(name) - - -def test_runtestspp_test_ns_prefix_with_empty_uri_3(testbase: EXPATBase): - name = "runtestspp_test_ns_prefix_with_empty_uri_3" - testbase.run_case(name) - - -def test_runtestspp_test_ns_prefix_with_empty_uri_4(testbase: EXPATBase): - name = "runtestspp_test_ns_prefix_with_empty_uri_4" - testbase.run_case(name) - - -def test_runtestspp_test_ns_unbound_prefix(testbase: EXPATBase): - name = "runtestspp_test_ns_unbound_prefix" - testbase.run_case(name) - - -def test_runtestspp_test_ns_default_with_empty_uri(testbase: EXPATBase): - name = "runtestspp_test_ns_default_with_empty_uri" - testbase.run_case(name) - - -def test_runtestspp_test_ns_duplicate_attrs_diff_prefixes(testbase: EXPATBase): - name = "runtestspp_test_ns_duplicate_attrs_diff_prefixes" - testbase.run_case(name) - - -def test_runtestspp_test_ns_duplicate_hashes(testbase: EXPATBase): - name = "runtestspp_test_ns_duplicate_hashes" - testbase.run_case(name) - - -def test_runtestspp_test_ns_unbound_prefix_on_attribute(testbase: EXPATBase): - name = "runtestspp_test_ns_unbound_prefix_on_attribute" - testbase.run_case(name) - - -def test_runtestspp_test_ns_unbound_prefix_on_element(testbase: EXPATBase): - name = "runtestspp_test_ns_unbound_prefix_on_element" - testbase.run_case(name) - - -def test_runtestspp_test_return_ns_triplet_triggered_by_test_ns_parser_reset(testbase: EXPATBase): - name = "runtestspp_test_return_ns_triplet_triggered_by_test_ns_parser_reset" - testbase.run_case(name) - - -def test_runtestspp_test_ns_long_element(testbase: EXPATBase): - name = "runtestspp_test_ns_long_element" - testbase.run_case(name) - - -def test_runtestspp_test_ns_mixed_prefix_atts(testbase: EXPATBase): - name = "runtestspp_test_ns_mixed_prefix_atts" - testbase.run_case(name) - - -def test_runtestspp_test_ns_extend_uri_buffer(testbase: EXPATBase): - name = "runtestspp_test_ns_extend_uri_buffer" - testbase.run_case(name) - - -def test_runtestspp_test_ns_reserved_attributes(testbase: EXPATBase): - name = "runtestspp_test_ns_reserved_attributes" - testbase.run_case(name) - - -def test_runtestspp_test_ns_reserved_attributes_2(testbase: EXPATBase): - name = "runtestspp_test_ns_reserved_attributes_2" - testbase.run_case(name) - - -def test_runtestspp_test_ns_extremely_long_prefix(testbase: EXPATBase): - name = "runtestspp_test_ns_extremely_long_prefix" - testbase.run_case(name) - - -def test_runtestspp_test_ns_unknown_encoding_success(testbase: EXPATBase): - name = "runtestspp_test_ns_unknown_encoding_success" - testbase.run_case(name) - - -def test_runtestspp_test_ns_double_colon(testbase: EXPATBase): - name = "runtestspp_test_ns_double_colon" - testbase.run_case(name) - - -def test_runtestspp_test_ns_double_colon_element(testbase: EXPATBase): - name = "runtestspp_test_ns_double_colon_element" - testbase.run_case(name) - - -def test_runtestspp_test_ns_bad_attr_leafname(testbase: EXPATBase): - name = "runtestspp_test_ns_bad_attr_leafname" - testbase.run_case(name) - - -def test_runtestspp_test_ns_bad_element_leafname(testbase: EXPATBase): - name = "runtestspp_test_ns_bad_element_leafname" - testbase.run_case(name) - - -def test_runtestspp_test_ns_utf16_leafname(testbase: EXPATBase): - name = "runtestspp_test_ns_utf16_leafname" - testbase.run_case(name) - - -def test_runtestspp_test_ns_utf16_element_leafname(testbase: EXPATBase): - name = "runtestspp_test_ns_utf16_element_leafname" - testbase.run_case(name) - - -def test_runtestspp_test_ns_utf16_doctype(testbase: EXPATBase): - name = "runtestspp_test_ns_utf16_doctype" - testbase.run_case(name) - - -def test_runtestspp_test_ns_invalid_doctype(testbase: EXPATBase): - name = "runtestspp_test_ns_invalid_doctype" - testbase.run_case(name) - - -def test_runtestspp_test_ns_double_colon_doctype(testbase: EXPATBase): - name = "runtestspp_test_ns_double_colon_doctype" - testbase.run_case(name) - - -def test_runtestspp_test_ns_separator_in_uri(testbase: EXPATBase): - name = "runtestspp_test_ns_separator_in_uri" - testbase.run_case(name) - - -def test_runtestspp_test_nul_byte(testbase: EXPATBase): - name = "runtestspp_test_nul_byte" - testbase.run_case(name) - - -def test_runtestspp_test_u0000_char(testbase: EXPATBase): - name = "runtestspp_test_u0000_char" - testbase.run_case(name) - - -def test_runtestspp_test_siphash_self(testbase: EXPATBase): - name = "runtestspp_test_siphash_self" - testbase.run_case(name) - - -def test_runtestspp_test_siphash_spec(testbase: EXPATBase): - name = "runtestspp_test_siphash_spec" - testbase.run_case(name) - - -def test_runtestspp_test_bom_utf8(testbase: EXPATBase): - name = "runtestspp_test_bom_utf8" - testbase.run_case(name) - - -def test_runtestspp_test_bom_utf16_be(testbase: EXPATBase): - name = "runtestspp_test_bom_utf16_be" - testbase.run_case(name) - - -def test_runtestspp_test_bom_utf16_le(testbase: EXPATBase): - name = "runtestspp_test_bom_utf16_le" - testbase.run_case(name) - - -def test_runtestspp_test_nobom_utf16_le(testbase: EXPATBase): - name = "runtestspp_test_nobom_utf16_le" - testbase.run_case(name) - - -def test_runtestspp_test_illegal_utf8(testbase: EXPATBase): - name = "runtestspp_test_illegal_utf8" - testbase.run_case(name) - - -def test_runtestspp_test_utf8_auto_align(testbase: EXPATBase): - name = "runtestspp_test_utf8_auto_align" - testbase.run_case(name) - - -def test_runtestspp_test_utf16(testbase: EXPATBase): - name = "runtestspp_test_utf16" - testbase.run_case(name) - - -def test_runtestspp_test_utf16_le_epilog_newline(testbase: EXPATBase): - name = "runtestspp_test_utf16_le_epilog_newline" - testbase.run_case(name) - - -def test_runtestspp_test_not_utf16(testbase: EXPATBase): - name = "runtestspp_test_not_utf16" - testbase.run_case(name) - - -def test_runtestspp_test_bad_encoding(testbase: EXPATBase): - name = "runtestspp_test_bad_encoding" - testbase.run_case(name) - - -def test_runtestspp_test_latin1_umlauts(testbase: EXPATBase): - name = "runtestspp_test_latin1_umlauts" - testbase.run_case(name) - - -def test_runtestspp_test_long_utf8_character(testbase: EXPATBase): - name = "runtestspp_test_long_utf8_character" - testbase.run_case(name) - - -def test_runtestspp_test_long_latin1_attribute(testbase: EXPATBase): - name = "runtestspp_test_long_latin1_attribute" - testbase.run_case(name) - - -def test_runtestspp_test_long_ascii_attribute(testbase: EXPATBase): - name = "runtestspp_test_long_ascii_attribute" - testbase.run_case(name) - - -def test_runtestspp_test_danish_latin1(testbase: EXPATBase): - name = "runtestspp_test_danish_latin1" - testbase.run_case(name) - - -def test_runtestspp_test_french_charref_hexidecimal(testbase: EXPATBase): - name = "runtestspp_test_french_charref_hexidecimal" - testbase.run_case(name) - - -def test_runtestspp_test_french_charref_decimal(testbase: EXPATBase): - name = "runtestspp_test_french_charref_decimal" - testbase.run_case(name) - - -def test_runtestspp_test_french_latin1(testbase: EXPATBase): - name = "runtestspp_test_french_latin1" - testbase.run_case(name) - - -def test_runtestspp_test_french_utf8(testbase: EXPATBase): - name = "runtestspp_test_french_utf8" - testbase.run_case(name) - - -def test_runtestspp_test_utf8_false_rejection(testbase: EXPATBase): - name = "runtestspp_test_utf8_false_rejection" - testbase.run_case(name) - - -def test_runtestspp_test_line_number_after_parse(testbase: EXPATBase): - name = "runtestspp_test_line_number_after_parse" - testbase.run_case(name) - - -def test_runtestspp_test_column_number_after_parse(testbase: EXPATBase): - name = "runtestspp_test_column_number_after_parse" - testbase.run_case(name) - - -def test_runtestspp_test_line_and_column_numbers_inside_handlers(testbase: EXPATBase): - name = "runtestspp_test_line_and_column_numbers_inside_handlers" - testbase.run_case(name) - - -def test_runtestspp_test_line_number_after_error(testbase: EXPATBase): - name = "runtestspp_test_line_number_after_error" - testbase.run_case(name) - - -def test_runtestspp_test_column_number_after_error(testbase: EXPATBase): - name = "runtestspp_test_column_number_after_error" - testbase.run_case(name) - - -def test_runtestspp_test_really_long_lines(testbase: EXPATBase): - name = "runtestspp_test_really_long_lines" - testbase.run_case(name) - - -def test_runtestspp_test_really_long_encoded_lines(testbase: EXPATBase): - name = "runtestspp_test_really_long_encoded_lines" - testbase.run_case(name) - - -def test_runtestspp_test_end_element_events(testbase: EXPATBase): - name = "runtestspp_test_end_element_events" - testbase.run_case(name) - - -def test_runtestspp_test_attr_whitespace_normalization(testbase: EXPATBase): - name = "runtestspp_test_attr_whitespace_normalization" - testbase.run_case(name) - - -def test_runtestspp_test_xmldecl_misplaced(testbase: EXPATBase): - name = "runtestspp_test_xmldecl_misplaced" - testbase.run_case(name) - - -def test_runtestspp_test_xmldecl_invalid(testbase: EXPATBase): - name = "runtestspp_test_xmldecl_invalid" - testbase.run_case(name) - - -def test_runtestspp_test_xmldecl_missing_attr(testbase: EXPATBase): - name = "runtestspp_test_xmldecl_missing_attr" - testbase.run_case(name) - - -def test_runtestspp_test_xmldecl_missing_value(testbase: EXPATBase): - name = "runtestspp_test_xmldecl_missing_value" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_encoding_internal_entity(testbase: EXPATBase): - name = "runtestspp_test_unknown_encoding_internal_entity" - testbase.run_case(name) - - -def test_runtestspp_test_unrecognised_encoding_internal_entity(testbase: EXPATBase): - name = "runtestspp_test_unrecognised_encoding_internal_entity" - testbase.run_case(name) - - -def test_runtestspp_test_wfc_undeclared_entity_unread_external_subset(testbase: EXPATBase): - name = "runtestspp_test_wfc_undeclared_entity_unread_external_subset" - testbase.run_case(name) - - -def test_runtestspp_test_wfc_undeclared_entity_no_external_subset(testbase: EXPATBase): - name = "runtestspp_test_wfc_undeclared_entity_no_external_subset" - testbase.run_case(name) - - -def test_runtestspp_test_wfc_undeclared_entity_standalone(testbase: EXPATBase): - name = "runtestspp_test_wfc_undeclared_entity_standalone" - testbase.run_case(name) - - -def test_runtestspp_test_wfc_undeclared_entity_with_external_subset(testbase: EXPATBase): - name = "runtestspp_test_wfc_undeclared_entity_with_external_subset" - testbase.run_case(name) - - -def test_runtestspp_test_not_standalone_handler_reject(testbase: EXPATBase): - name = "runtestspp_test_not_standalone_handler_reject" - testbase.run_case(name) - - -def test_runtestspp_test_not_standalone_handler_accept(testbase: EXPATBase): - name = "runtestspp_test_not_standalone_handler_accept" - testbase.run_case(name) - - -def test_runtestspp_test_wfc_undeclared_entity_with_external_subset_standalone(testbase: EXPATBase): - name = "runtestspp_test_wfc_undeclared_entity_with_external_subset_standalone" - testbase.run_case(name) - - -def test_runtestspp_test_entity_with_external_subset_unless_standalone(testbase: EXPATBase): - name = "runtestspp_test_entity_with_external_subset_unless_standalone" - testbase.run_case(name) - - -def test_runtestspp_test_wfc_no_recursive_entity_refs(testbase: EXPATBase): - name = "runtestspp_test_wfc_no_recursive_entity_refs" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_set_encoding(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_set_encoding" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_no_handler(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_no_handler" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_set_bom(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_set_bom" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_bad_encoding(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_bad_encoding" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_bad_encoding_2(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_bad_encoding_2" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_invalid_parse(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_invalid_parse" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_invalid_suspended_parse(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_invalid_suspended_parse" - testbase.run_case(name) - - -def test_runtestspp_test_dtd_default_handling(testbase: EXPATBase): - name = "runtestspp_test_dtd_default_handling" - testbase.run_case(name) - - -def test_runtestspp_test_dtd_attr_handling(testbase: EXPATBase): - name = "runtestspp_test_dtd_attr_handling" - testbase.run_case(name) - - -def test_runtestspp_test_empty_ns_without_namespaces(testbase: EXPATBase): - name = "runtestspp_test_empty_ns_without_namespaces" - testbase.run_case(name) - - -def test_runtestspp_test_ns_in_attribute_default_without_namespaces(testbase: EXPATBase): - name = "runtestspp_test_ns_in_attribute_default_without_namespaces" - testbase.run_case(name) - - -def test_runtestspp_test_stop_parser_between_char_data_calls(testbase: EXPATBase): - name = "runtestspp_test_stop_parser_between_char_data_calls" - testbase.run_case(name) - - -def test_runtestspp_test_suspend_parser_between_char_data_calls(testbase: EXPATBase): - name = "runtestspp_test_suspend_parser_between_char_data_calls" - testbase.run_case(name) - - -def test_runtestspp_test_repeated_stop_parser_between_char_data_calls(testbase: EXPATBase): - name = "runtestspp_test_repeated_stop_parser_between_char_data_calls" - testbase.run_case(name) - - -def test_runtestspp_test_good_cdata_ascii(testbase: EXPATBase): - name = "runtestspp_test_good_cdata_ascii" - testbase.run_case(name) - - -def test_runtestspp_test_good_cdata_utf16(testbase: EXPATBase): - name = "runtestspp_test_good_cdata_utf16" - testbase.run_case(name) - - -def test_runtestspp_test_good_cdata_utf16_le(testbase: EXPATBase): - name = "runtestspp_test_good_cdata_utf16_le" - testbase.run_case(name) - - -def test_runtestspp_test_long_cdata_utf16(testbase: EXPATBase): - name = "runtestspp_test_long_cdata_utf16" - testbase.run_case(name) - - -def test_runtestspp_test_multichar_cdata_utf16(testbase: EXPATBase): - name = "runtestspp_test_multichar_cdata_utf16" - testbase.run_case(name) - - -def test_runtestspp_test_utf16_bad_surrogate_pair(testbase: EXPATBase): - name = "runtestspp_test_utf16_bad_surrogate_pair" - testbase.run_case(name) - - -def test_runtestspp_test_bad_cdata(testbase: EXPATBase): - name = "runtestspp_test_bad_cdata" - testbase.run_case(name) - - -def test_runtestspp_test_bad_cdata_utf16(testbase: EXPATBase): - name = "runtestspp_test_bad_cdata_utf16" - testbase.run_case(name) - - -def test_runtestspp_test_stop_parser_between_cdata_calls(testbase: EXPATBase): - name = "runtestspp_test_stop_parser_between_cdata_calls" - testbase.run_case(name) - - -def test_runtestspp_test_suspend_parser_between_cdata_calls(testbase: EXPATBase): - name = "runtestspp_test_suspend_parser_between_cdata_calls" - testbase.run_case(name) - - -def test_runtestspp_test_memory_allocation(testbase: EXPATBase): - name = "runtestspp_test_memory_allocation" - testbase.run_case(name) - - -def test_runtestspp_test_default_current(testbase: EXPATBase): - name = "runtestspp_test_default_current" - testbase.run_case(name) - - -def test_runtestspp_test_dtd_elements(testbase: EXPATBase): - name = "runtestspp_test_dtd_elements" - testbase.run_case(name) - - -def test_runtestspp_test_dtd_elements_nesting(testbase: EXPATBase): - name = "runtestspp_test_dtd_elements_nesting" - testbase.run_case(name) - - -def test_runtestspp_test_set_foreign_dtd(testbase: EXPATBase): - name = "runtestspp_test_set_foreign_dtd" - testbase.run_case(name) - - -def test_runtestspp_test_foreign_dtd_not_standalone(testbase: EXPATBase): - name = "runtestspp_test_foreign_dtd_not_standalone" - testbase.run_case(name) - - -def test_runtestspp_test_invalid_foreign_dtd(testbase: EXPATBase): - name = "runtestspp_test_invalid_foreign_dtd" - testbase.run_case(name) - - -def test_runtestspp_test_foreign_dtd_with_doctype(testbase: EXPATBase): - name = "runtestspp_test_foreign_dtd_with_doctype" - testbase.run_case(name) - - -def test_runtestspp_test_foreign_dtd_without_external_subset(testbase: EXPATBase): - name = "runtestspp_test_foreign_dtd_without_external_subset" - testbase.run_case(name) - - -def test_runtestspp_test_empty_foreign_dtd(testbase: EXPATBase): - name = "runtestspp_test_empty_foreign_dtd" - testbase.run_case(name) - - -def test_runtestspp_test_set_base(testbase: EXPATBase): - name = "runtestspp_test_set_base" - testbase.run_case(name) - - -def test_runtestspp_test_attributes(testbase: EXPATBase): - name = "runtestspp_test_attributes" - testbase.run_case(name) - - -def test_runtestspp_test_reset_in_entity(testbase: EXPATBase): - name = "runtestspp_test_reset_in_entity" - testbase.run_case(name) - - -def test_runtestspp_test_resume_invalid_parse(testbase: EXPATBase): - name = "runtestspp_test_resume_invalid_parse" - testbase.run_case(name) - - -def test_runtestspp_test_resume_resuspended(testbase: EXPATBase): - name = "runtestspp_test_resume_resuspended" - testbase.run_case(name) - - -def test_runtestspp_test_cdata_default(testbase: EXPATBase): - name = "runtestspp_test_cdata_default" - testbase.run_case(name) - - -def test_runtestspp_test_subordinate_reset(testbase: EXPATBase): - name = "runtestspp_test_subordinate_reset" - testbase.run_case(name) - - -def test_runtestspp_test_subordinate_suspend(testbase: EXPATBase): - name = "runtestspp_test_subordinate_suspend" - testbase.run_case(name) - - -def test_runtestspp_test_subordinate_xdecl_suspend(testbase: EXPATBase): - name = "runtestspp_test_subordinate_xdecl_suspend" - testbase.run_case(name) - - -def test_runtestspp_test_subordinate_xdecl_abort(testbase: EXPATBase): - name = "runtestspp_test_subordinate_xdecl_abort" - testbase.run_case(name) - - -def test_runtestspp_test_explicit_encoding(testbase: EXPATBase): - name = "runtestspp_test_explicit_encoding" - testbase.run_case(name) - - -def test_runtestspp_test_trailing_cr(testbase: EXPATBase): - name = "runtestspp_test_trailing_cr" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_trailing_cr(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_trailing_cr" - testbase.run_case(name) - - -def test_runtestspp_test_trailing_rsqb(testbase: EXPATBase): - name = "runtestspp_test_trailing_rsqb" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_trailing_rsqb(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_trailing_rsqb" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_good_cdata(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_good_cdata" - testbase.run_case(name) - - -def test_runtestspp_test_user_parameters(testbase: EXPATBase): - name = "runtestspp_test_user_parameters" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_ref_parameter(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_ref_parameter" - testbase.run_case(name) - - -def test_runtestspp_test_empty_parse(testbase: EXPATBase): - name = "runtestspp_test_empty_parse" - testbase.run_case(name) - - -def test_runtestspp_test_get_buffer_1(testbase: EXPATBase): - name = "runtestspp_test_get_buffer_1" - testbase.run_case(name) - - -def test_runtestspp_test_get_buffer_2(testbase: EXPATBase): - name = "runtestspp_test_get_buffer_2" - testbase.run_case(name) - - -def test_runtestspp_test_get_buffer_3_overflow(testbase: EXPATBase): - name = "runtestspp_test_get_buffer_3_overflow" - testbase.run_case(name) - - -def test_runtestspp_test_byte_info_at_end(testbase: EXPATBase): - name = "runtestspp_test_byte_info_at_end" - testbase.run_case(name) - - -def test_runtestspp_test_byte_info_at_error(testbase: EXPATBase): - name = "runtestspp_test_byte_info_at_error" - testbase.run_case(name) - - -def test_runtestspp_test_byte_info_at_cdata(testbase: EXPATBase): - name = "runtestspp_test_byte_info_at_cdata" - testbase.run_case(name) - - -def test_runtestspp_test_predefined_entities(testbase: EXPATBase): - name = "runtestspp_test_predefined_entities" - testbase.run_case(name) - - -def test_runtestspp_test_invalid_tag_in_dtd(testbase: EXPATBase): - name = "runtestspp_test_invalid_tag_in_dtd" - testbase.run_case(name) - - -def test_runtestspp_test_not_predefined_entities(testbase: EXPATBase): - name = "runtestspp_test_not_predefined_entities" - testbase.run_case(name) - - -def test_runtestspp_test_ignore_section(testbase: EXPATBase): - name = "runtestspp_test_ignore_section" - testbase.run_case(name) - - -def test_runtestspp_test_ignore_section_utf16(testbase: EXPATBase): - name = "runtestspp_test_ignore_section_utf16" - testbase.run_case(name) - - -def test_runtestspp_test_ignore_section_utf16_be(testbase: EXPATBase): - name = "runtestspp_test_ignore_section_utf16_be" - testbase.run_case(name) - - -def test_runtestspp_test_bad_ignore_section(testbase: EXPATBase): - name = "runtestspp_test_bad_ignore_section" - testbase.run_case(name) - - -def test_runtestspp_test_external_entity_values(testbase: EXPATBase): - name = "runtestspp_test_external_entity_values" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_not_standalone(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_not_standalone" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_value_abort(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_value_abort" - testbase.run_case(name) - - -def test_runtestspp_test_bad_public_doctype(testbase: EXPATBase): - name = "runtestspp_test_bad_public_doctype" - testbase.run_case(name) - - -def test_runtestspp_test_attribute_enum_value(testbase: EXPATBase): - name = "runtestspp_test_attribute_enum_value" - testbase.run_case(name) - - -def test_runtestspp_test_predefined_entity_redefinition(testbase: EXPATBase): - name = "runtestspp_test_predefined_entity_redefinition" - testbase.run_case(name) - - -def test_runtestspp_test_dtd_stop_processing(testbase: EXPATBase): - name = "runtestspp_test_dtd_stop_processing" - testbase.run_case(name) - - -def test_runtestspp_test_public_notation_no_sysid(testbase: EXPATBase): - name = "runtestspp_test_public_notation_no_sysid" - testbase.run_case(name) - - -def test_runtestspp_test_nested_groups(testbase: EXPATBase): - name = "runtestspp_test_nested_groups" - testbase.run_case(name) - - -def test_runtestspp_test_group_choice(testbase: EXPATBase): - name = "runtestspp_test_group_choice" - testbase.run_case(name) - - -def test_runtestspp_test_standalone_parameter_entity(testbase: EXPATBase): - name = "runtestspp_test_standalone_parameter_entity" - testbase.run_case(name) - - -def test_runtestspp_test_skipped_parameter_entity(testbase: EXPATBase): - name = "runtestspp_test_skipped_parameter_entity" - testbase.run_case(name) - - -def test_runtestspp_test_recursive_external_parameter_entity(testbase: EXPATBase): - name = "runtestspp_test_recursive_external_parameter_entity" - testbase.run_case(name) - - -def test_runtestspp_test_undefined_ext_entity_in_external_dtd(testbase: EXPATBase): - name = "runtestspp_test_undefined_ext_entity_in_external_dtd" - testbase.run_case(name) - - -def test_runtestspp_test_suspend_xdecl(testbase: EXPATBase): - name = "runtestspp_test_suspend_xdecl" - testbase.run_case(name) - - -def test_runtestspp_test_abort_epilog(testbase: EXPATBase): - name = "runtestspp_test_abort_epilog" - testbase.run_case(name) - - -def test_runtestspp_test_abort_epilog_2(testbase: EXPATBase): - name = "runtestspp_test_abort_epilog_2" - testbase.run_case(name) - - -def test_runtestspp_test_suspend_epilog(testbase: EXPATBase): - name = "runtestspp_test_suspend_epilog" - testbase.run_case(name) - - -def test_runtestspp_test_suspend_in_sole_empty_tag(testbase: EXPATBase): - name = "runtestspp_test_suspend_in_sole_empty_tag" - testbase.run_case(name) - - -def test_runtestspp_test_unfinished_epilog(testbase: EXPATBase): - name = "runtestspp_test_unfinished_epilog" - testbase.run_case(name) - - -def test_runtestspp_test_partial_char_in_epilog(testbase: EXPATBase): - name = "runtestspp_test_partial_char_in_epilog" - testbase.run_case(name) - - -def test_runtestspp_test_hash_collision(testbase: EXPATBase): - name = "runtestspp_test_hash_collision" - testbase.run_case(name) - - -def test_runtestspp_test_suspend_resume_internal_entity(testbase: EXPATBase): - name = "runtestspp_test_suspend_resume_internal_entity" - testbase.run_case(name) - - -def test_runtestspp_test_resume_entity_with_syntax_error(testbase: EXPATBase): - name = "runtestspp_test_resume_entity_with_syntax_error" - testbase.run_case(name) - - -def test_runtestspp_test_suspend_resume_parameter_entity(testbase: EXPATBase): - name = "runtestspp_test_suspend_resume_parameter_entity" - testbase.run_case(name) - - -def test_runtestspp_test_restart_on_error(testbase: EXPATBase): - name = "runtestspp_test_restart_on_error" - testbase.run_case(name) - - -def test_runtestspp_test_reject_lt_in_attribute_value(testbase: EXPATBase): - name = "runtestspp_test_reject_lt_in_attribute_value" - testbase.run_case(name) - - -def test_runtestspp_test_reject_unfinished_param_in_att_value(testbase: EXPATBase): - name = "runtestspp_test_reject_unfinished_param_in_att_value" - testbase.run_case(name) - - -def test_runtestspp_test_trailing_cr_in_att_value(testbase: EXPATBase): - name = "runtestspp_test_trailing_cr_in_att_value" - testbase.run_case(name) - - -def test_runtestspp_test_standalone_internal_entity(testbase: EXPATBase): - name = "runtestspp_test_standalone_internal_entity" - testbase.run_case(name) - - -def test_runtestspp_test_skipped_external_entity(testbase: EXPATBase): - name = "runtestspp_test_skipped_external_entity" - testbase.run_case(name) - - -def test_runtestspp_test_skipped_null_loaded_ext_entity(testbase: EXPATBase): - name = "runtestspp_test_skipped_null_loaded_ext_entity" - testbase.run_case(name) - - -def test_runtestspp_test_skipped_unloaded_ext_entity(testbase: EXPATBase): - name = "runtestspp_test_skipped_unloaded_ext_entity" - testbase.run_case(name) - - -def test_runtestspp_test_param_entity_with_trailing_cr(testbase: EXPATBase): - name = "runtestspp_test_param_entity_with_trailing_cr" - testbase.run_case(name) - - -def test_runtestspp_test_invalid_character_entity(testbase: EXPATBase): - name = "runtestspp_test_invalid_character_entity" - testbase.run_case(name) - - -def test_runtestspp_test_invalid_character_entity_2(testbase: EXPATBase): - name = "runtestspp_test_invalid_character_entity_2" - testbase.run_case(name) - - -def test_runtestspp_test_invalid_character_entity_3(testbase: EXPATBase): - name = "runtestspp_test_invalid_character_entity_3" - testbase.run_case(name) - - -def test_runtestspp_test_invalid_character_entity_4(testbase: EXPATBase): - name = "runtestspp_test_invalid_character_entity_4" - testbase.run_case(name) - - -def test_runtestspp_test_pi_handled_in_default(testbase: EXPATBase): - name = "runtestspp_test_pi_handled_in_default" - testbase.run_case(name) - - -def test_runtestspp_test_comment_handled_in_default(testbase: EXPATBase): - name = "runtestspp_test_comment_handled_in_default" - testbase.run_case(name) - - -def test_runtestspp_test_pi_yml(testbase: EXPATBase): - name = "runtestspp_test_pi_yml" - testbase.run_case(name) - - -def test_runtestspp_test_pi_xnl(testbase: EXPATBase): - name = "runtestspp_test_pi_xnl" - testbase.run_case(name) - - -def test_runtestspp_test_pi_xmm(testbase: EXPATBase): - name = "runtestspp_test_pi_xmm" - testbase.run_case(name) - - -def test_runtestspp_test_utf16_pi(testbase: EXPATBase): - name = "runtestspp_test_utf16_pi" - testbase.run_case(name) - - -def test_runtestspp_test_utf16_be_pi(testbase: EXPATBase): - name = "runtestspp_test_utf16_be_pi" - testbase.run_case(name) - - -def test_runtestspp_test_utf16_be_comment(testbase: EXPATBase): - name = "runtestspp_test_utf16_be_comment" - testbase.run_case(name) - - -def test_runtestspp_test_utf16_le_comment(testbase: EXPATBase): - name = "runtestspp_test_utf16_le_comment" - testbase.run_case(name) - - -def test_runtestspp_test_missing_encoding_conversion_fn(testbase: EXPATBase): - name = "runtestspp_test_missing_encoding_conversion_fn" - testbase.run_case(name) - - -def test_runtestspp_test_failing_encoding_conversion_fn(testbase: EXPATBase): - name = "runtestspp_test_failing_encoding_conversion_fn" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_encoding_success(testbase: EXPATBase): - name = "runtestspp_test_unknown_encoding_success" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_encoding_bad_name(testbase: EXPATBase): - name = "runtestspp_test_unknown_encoding_bad_name" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_encoding_bad_name_2(testbase: EXPATBase): - name = "runtestspp_test_unknown_encoding_bad_name_2" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_encoding_long_name_1(testbase: EXPATBase): - name = "runtestspp_test_unknown_encoding_long_name_1" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_encoding_long_name_2(testbase: EXPATBase): - name = "runtestspp_test_unknown_encoding_long_name_2" - testbase.run_case(name) - - -def test_runtestspp_test_invalid_unknown_encoding(testbase: EXPATBase): - name = "runtestspp_test_invalid_unknown_encoding" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_ascii_encoding_ok(testbase: EXPATBase): - name = "runtestspp_test_unknown_ascii_encoding_ok" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_ascii_encoding_fail(testbase: EXPATBase): - name = "runtestspp_test_unknown_ascii_encoding_fail" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_encoding_invalid_length(testbase: EXPATBase): - name = "runtestspp_test_unknown_encoding_invalid_length" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_encoding_invalid_topbit(testbase: EXPATBase): - name = "runtestspp_test_unknown_encoding_invalid_topbit" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_encoding_invalid_surrogate(testbase: EXPATBase): - name = "runtestspp_test_unknown_encoding_invalid_surrogate" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_encoding_invalid_high(testbase: EXPATBase): - name = "runtestspp_test_unknown_encoding_invalid_high" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_encoding_invalid_attr_value(testbase: EXPATBase): - name = "runtestspp_test_unknown_encoding_invalid_attr_value" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_latin1_utf16le_bom(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_latin1_utf16le_bom" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_latin1_utf16be_bom(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_latin1_utf16be_bom" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_latin1_utf16le_bom2(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_latin1_utf16le_bom2" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_latin1_utf16be_bom2(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_latin1_utf16be_bom2" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_utf16_be(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_utf16_be" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_utf16_le(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_utf16_le" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_utf16_unknown(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_utf16_unknown" - testbase.run_case(name) - - -def test_runtestspp_test_ext_entity_utf8_non_bom(testbase: EXPATBase): - name = "runtestspp_test_ext_entity_utf8_non_bom" - testbase.run_case(name) - - -def test_runtestspp_test_utf8_in_cdata_section(testbase: EXPATBase): - name = "runtestspp_test_utf8_in_cdata_section" - testbase.run_case(name) - - -def test_runtestspp_test_utf8_in_cdata_section_2(testbase: EXPATBase): - name = "runtestspp_test_utf8_in_cdata_section_2" - testbase.run_case(name) - - -def test_runtestspp_test_utf8_in_start_tags(testbase: EXPATBase): - name = "runtestspp_test_utf8_in_start_tags" - testbase.run_case(name) - - -def test_runtestspp_test_trailing_spaces_in_elements(testbase: EXPATBase): - name = "runtestspp_test_trailing_spaces_in_elements" - testbase.run_case(name) - - -def test_runtestspp_test_utf16_attribute(testbase: EXPATBase): - name = "runtestspp_test_utf16_attribute" - testbase.run_case(name) - - -def test_runtestspp_test_utf16_second_attr(testbase: EXPATBase): - name = "runtestspp_test_utf16_second_attr" - testbase.run_case(name) - - -def test_runtestspp_test_attr_after_solidus(testbase: EXPATBase): - name = "runtestspp_test_attr_after_solidus" - testbase.run_case(name) - - -def test_runtestspp_test_utf16_pe(testbase: EXPATBase): - name = "runtestspp_test_utf16_pe" - testbase.run_case(name) - - -def test_runtestspp_test_bad_attr_desc_keyword(testbase: EXPATBase): - name = "runtestspp_test_bad_attr_desc_keyword" - testbase.run_case(name) - - -def test_runtestspp_test_bad_attr_desc_keyword_utf16(testbase: EXPATBase): - name = "runtestspp_test_bad_attr_desc_keyword_utf16" - testbase.run_case(name) - - -def test_runtestspp_test_bad_doctype(testbase: EXPATBase): - name = "runtestspp_test_bad_doctype" - testbase.run_case(name) - - -def test_runtestspp_test_bad_doctype_utf8(testbase: EXPATBase): - name = "runtestspp_test_bad_doctype_utf8" - testbase.run_case(name) - - -def test_runtestspp_test_bad_doctype_utf16(testbase: EXPATBase): - name = "runtestspp_test_bad_doctype_utf16" - testbase.run_case(name) - - -def test_runtestspp_test_bad_doctype_plus(testbase: EXPATBase): - name = "runtestspp_test_bad_doctype_plus" - testbase.run_case(name) - - -def test_runtestspp_test_bad_doctype_star(testbase: EXPATBase): - name = "runtestspp_test_bad_doctype_star" - testbase.run_case(name) - - -def test_runtestspp_test_bad_doctype_query(testbase: EXPATBase): - name = "runtestspp_test_bad_doctype_query" - testbase.run_case(name) - - -def test_runtestspp_test_unknown_encoding_bad_ignore(testbase: EXPATBase): - name = "runtestspp_test_unknown_encoding_bad_ignore" - testbase.run_case(name) - - -def test_runtestspp_test_entity_in_utf16_be_attr(testbase: EXPATBase): - name = "runtestspp_test_entity_in_utf16_be_attr" - testbase.run_case(name) - - -def test_runtestspp_test_entity_in_utf16_le_attr(testbase: EXPATBase): - name = "runtestspp_test_entity_in_utf16_le_attr" - testbase.run_case(name) - - -def test_runtestspp_test_entity_public_utf16_be(testbase: EXPATBase): - name = "runtestspp_test_entity_public_utf16_be" - testbase.run_case(name) - - -def test_runtestspp_test_entity_public_utf16_le(testbase: EXPATBase): - name = "runtestspp_test_entity_public_utf16_le" - testbase.run_case(name) - - -def test_runtestspp_test_short_doctype(testbase: EXPATBase): - name = "runtestspp_test_short_doctype" - testbase.run_case(name) - - -def test_runtestspp_test_short_doctype_2(testbase: EXPATBase): - name = "runtestspp_test_short_doctype_2" - testbase.run_case(name) - - -def test_runtestspp_test_short_doctype_3(testbase: EXPATBase): - name = "runtestspp_test_short_doctype_3" - testbase.run_case(name) - - -def test_runtestspp_test_long_doctype(testbase: EXPATBase): - name = "runtestspp_test_long_doctype" - testbase.run_case(name) - - -def test_runtestspp_test_bad_entity(testbase: EXPATBase): - name = "runtestspp_test_bad_entity" - testbase.run_case(name) - - -def test_runtestspp_test_bad_entity_2(testbase: EXPATBase): - name = "runtestspp_test_bad_entity_2" - testbase.run_case(name) - - -def test_runtestspp_test_bad_entity_3(testbase: EXPATBase): - name = "runtestspp_test_bad_entity_3" - testbase.run_case(name) - - -def test_runtestspp_test_bad_entity_4(testbase: EXPATBase): - name = "runtestspp_test_bad_entity_4" - testbase.run_case(name) - - -def test_runtestspp_test_bad_notation(testbase: EXPATBase): - name = "runtestspp_test_bad_notation" - testbase.run_case(name) - - -def test_runtestspp_test_default_doctype_handler(testbase: EXPATBase): - name = "runtestspp_test_default_doctype_handler" - testbase.run_case(name) - - -def test_runtestspp_test_empty_element_abort(testbase: EXPATBase): - name = "runtestspp_test_empty_element_abort" - testbase.run_case(name) +@pytest.mark.parametrize('case_name', instance.case_info_list.keys()) +def test_expat(testbase: EXPATBase, case_name): + testbase.run_case(case_name) if __name__ == '__main__': pytest.main("-s run_tests") |