- added and tested id_payload_t
[strongswan.git] / Source / charon / testcases / parser_test.h
1 /**
2 * @file parser_test.h
3 *
4 * @brief Tests for the parser_t class.
5 *
6 */
7
8 /*
9 * Copyright (C) 2005 Jan Hutter, Martin Willi
10 * Hochschule fuer Technik Rapperswil
11 *
12 * This program is free software; you can redistribute it and/or modify it
13 * under the terms of the GNU General Public License as published by the
14 * Free Software Foundation; either version 2 of the License, or (at your
15 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
16 *
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 * for more details.
21 */
22
23 #ifndef PARSER_TEST_H_
24 #define PARSER_TEST_H_
25
26 #include <utils/tester.h>
27
28 /**
29 * @brief Test function used to test the parser_t functionality when
30 * parsing a header payload.
31 *
32 * @param tester associated tester_t object
33 *
34 * @ingroup testcases
35 */
36 void test_parser_with_header_payload(tester_t *tester);
37
38 /**
39 * @brief Test function used to test the parser_t functionality when
40 * parsing a sa payload.
41 *
42 * @param tester associated tester_t object
43 *
44 * @ingroup testcases
45 */
46 void test_parser_with_sa_payload(tester_t *tester);
47
48 /**
49 * @brief Test function used to test the parser_t functionality when
50 * parsing a nonce payload.
51 *
52 * @param tester associated tester_t object
53 *
54 * @ingroup testcases
55 */
56 void test_parser_with_nonce_payload(tester_t *tester);
57
58 /**
59 * @brief Test function used to test the parser_t functionality when
60 * parsing a ID payload.
61 *
62 * @param tester associated tester_t object
63 *
64 * @ingroup testcases
65 */
66 void test_parser_with_id_payload(tester_t *tester);
67
68 /**
69 * @brief Test function used to test the parser_t functionality when
70 * parsing a ke payload.
71 *
72 * @param tester associated tester_t object
73 *
74 * @ingroup testcases
75 */
76 void test_parser_with_ke_payload(tester_t *tester);
77
78 /**
79 * @brief Test function used to test the parser_t functionality when
80 * parsing a notify payload.
81 *
82 * @param tester associated tester_t object
83 *
84 * @ingroup testcases
85 */
86 void test_parser_with_notify_payload(tester_t *tester);
87
88 #endif /*PARSER_TEST_H_*/