2 void test_mxml_comment_entities() {
3 test_parser_verify_entity(
4 test_parser_sourcefile("mxml", " <!--comment-->"),
5 "comment", "<!--comment-->"
7 test_parser_verify_entity(
8 test_parser_sourcefile("mxml", "<mx:Style>\n/*comment*/\n</mx:Style>"),
9 "comment", "/*comment*/"
11 test_parser_verify_entity(
12 test_parser_sourcefile("mxml", "<mx:Script>\n//comment\n</mx:Script>"),
13 "comment", "//comment"
15 test_parser_verify_entity(
16 test_parser_sourcefile("mxml", "<mx:Script>\n/*comment*/\n</mx:Script>"),
17 "comment", "/*comment*/"
21 void all_mxml_tests() {
22 test_mxml_comment_entities();