Merge pull request #41 from blackducksw/ubuntu_14
[ohcount] / test / unit / parsers / test_idl_pvwave.h
1 void test_idl_pvwave_comments() {
2   test_parser_verify_parse(
3     test_parser_sourcefile("idl_pvwave", " ;comment"),
4     "idl_pvwave", "", ";comment", 0
5   );
6 }
7
8 void test_idl_pvwave_comment_entities() {
9   test_parser_verify_entity(
10     test_parser_sourcefile("idl_pvwave", " ;comment"),
11     "comment", ";comment"
12   );
13   test_parser_verify_entity(
14     test_parser_sourcefile("idl_pvwave", " ;comment"),
15     "comment", ";comment"
16   );
17 }
18
19 void test_idl_pvwave_is_language() {
20         const char *language = "idl_pvwave";
21         assert(ohcount_hash_language_from_name(language, strlen(language)) != NULL);
22 }
23
24 void all_idl_pvwave_tests() {
25         test_idl_pvwave_is_language();
26         test_idl_pvwave_comments();
27         test_idl_pvwave_comment_entities();
28 }