Home | History | Annotate | Download | only in test

Lines Matching refs:def

10     def __init__(self):
15 def get_events(self):
32 def unknown_starttag(self, tag, attrs):
35 def unknown_endtag(self, tag):
40 def handle_comment(self, data):
43 def handle_charref(self, data):
46 def handle_data(self, data):
49 def handle_decl(self, decl):
52 def handle_entityref(self, data):
55 def handle_pi(self, data):
58 def unknown_decl(self, decl):
63 def start_cdata(self, attrs):
73 def convert_charref(self, name):
78 def convert_codepoint(self, codepoint):
82 def convert_entityref(self, name):
90 def handle_charref(self, data):
94 def handle_entityref(self, data):
103 def get_events(self, source):
114 def check_events(self, source, expected_events):
126 def check_parse_error(self, source):
137 def test_doctype_decl_internal(self):
156 def test_doctype_decl_external(self):
162 def test_underscore_in_attrname(self):
170 def test_underscore_in_tagname(self):
178 def test_quotes_in_unquoted_attrs(self):
185 def test_xhtml_empty_tag(self):
194 def test_processing_instruction_only(self):
199 def test_bad_nesting(self):
207 def test_bare_ampersands(self):
212 def test_bare_pointy_brackets(self):
217 def test_attr_syntax(self):
226 def test_attr_values(self):
249 def test_attr_values_entities(self):
268 def test_convert_overrides(self):
288 def test_attr_funky_names(self):
293 def test_attr_value_ip6_url(self):
301 def test_weird_starttags(self):
311 def test_declaration_junk_chars(self):
314 def test_get_starttag_text(self):
320 def test_cdata_content(self):
341 def test_illegal_declarations(self):
342 s = 'abc<!spacer type="block" height="25">def'
346 ("data", "def"),
349 def test_enumerated_attr_type(self):
355 def test_read_chunks(self):
368 def test_only_decode_ascii(self):
382 def _test_starttag_end_boundary(self):
386 def _test_buffer_artefacts(self):
416 def _test_starttag_junk_chars(self):
434 def test_main():