Codebase list ohcount / 85d5c3b4-c1f3-4d55-a24f-4c231b8d4c21/main test / unit / parsers / test_idl_pvwave.h
85d5c3b4-c1f3-4d55-a24f-4c231b8d4c21/main

Tree @85d5c3b4-c1f3-4d55-a24f-4c231b8d4c21/main (Download .tar.gz)

test_idl_pvwave.h @85d5c3b4-c1f3-4d55-a24f-4c231b8d4c21/mainraw · history · blame

void test_idl_pvwave_comments() {
  test_parser_verify_parse(
    test_parser_sourcefile("idl_pvwave", " ;comment"),
    "idl_pvwave", "", ";comment", 0
  );
}

void test_idl_pvwave_comment_entities() {
  test_parser_verify_entity(
    test_parser_sourcefile("idl_pvwave", " ;comment"),
    "comment", ";comment"
  );
  test_parser_verify_entity(
    test_parser_sourcefile("idl_pvwave", " ;comment"),
    "comment", ";comment"
  );
}

void test_idl_pvwave_is_language() {
	const char *language = "idl_pvwave";
	assert(ohcount_hash_language_from_name(language, strlen(language)) != NULL);
}

void all_idl_pvwave_tests() {
	test_idl_pvwave_is_language();
	test_idl_pvwave_comments();
	test_idl_pvwave_comment_entities();
}