Codebase list ohcount / 71f18fd0-2918-4673-9432-32d77816000d/main test / unit / parsers / test_actionscript.h
71f18fd0-2918-4673-9432-32d77816000d/main

Tree @71f18fd0-2918-4673-9432-32d77816000d/main (Download .tar.gz)

test_actionscript.h @71f18fd0-2918-4673-9432-32d77816000d/mainraw · history · blame

void test_actionscript_comments() {
  test_parser_verify_parse(
    test_parser_sourcefile("actionscript", " //comment"),
    "actionscript", "", "//comment", 0
  );
}

void test_actionscript_comment_entities() {
  test_parser_verify_entity(
    test_parser_sourcefile("actionscript", " //comment"),
    "comment", "//comment"
  );
  test_parser_verify_entity(
    test_parser_sourcefile("actionscript", " /*comment*/"),
    "comment", "/*comment*/"
  );
}

void all_actionscript_tests() {
  test_actionscript_comments();
  test_actionscript_comment_entities();
}