- implemented and tested cert_payload_t
[strongswan.git] / Source / charon / testcases / generator_test.h
1 /**
2 * @file generator.h
3 *
4 * @brief Tests for the generator_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 GENERATOR_TEST_H_
24 #define GENERATOR_TEST_H_
25
26 #include <utils/tester.h>
27
28 /**
29 * @brief Test function used to test the generator with header payload.
30 *
31 * @param tester associated tester_t object
32 *
33 * @ingroup testcases
34 */
35 void test_generator_with_header_payload(tester_t *tester);
36
37 /**
38 * @brief Test function used to test the generator with transform attribute payload.
39 *
40 * @param tester associated tester_t object
41 *
42 * @ingroup testcases
43 */
44 void test_generator_with_transform_attribute(tester_t *tester);
45
46
47 /**
48 * @brief Test function used to test the generator with transform substructure payload.
49 *
50 * @param tester associated tester_t object
51 *
52 * @ingroup testcases
53 */
54 void test_generator_with_transform_substructure(tester_t *tester);
55
56 /**
57 * @brief Test function used to test the generator with proposal substructure payload.
58 *
59 * @param tester associated tester_t object
60 *
61 * @ingroup testcases
62 */
63 void test_generator_with_proposal_substructure(tester_t *tester);
64
65 /**
66 * @brief Test function used to test the generator with SA payload.
67 *
68 * @param tester associated tester_t object
69 *
70 * @ingroup testcases
71 */
72 void test_generator_with_sa_payload(tester_t *tester);
73
74 /**
75 * @brief Test function used to test the generator with KE payload.
76 *
77 * @param tester associated tester_t object
78 *
79 * @ingroup testcases
80 */
81 void test_generator_with_ke_payload(tester_t *tester);
82
83 /**
84 * @brief Test function used to test the generator with Notify payload.
85 *
86 * @param tester associated tester_t object
87 *
88 * @ingroup testcases
89 */
90 void test_generator_with_notify_payload(tester_t *tester);
91
92 /**
93 * @brief Test function used to test the generator with Nonce payload.
94 *
95 * @param tester associated tester_t object
96 *
97 * @ingroup testcases
98 */
99 void test_generator_with_nonce_payload(tester_t *tester);
100
101 /**
102 * @brief Test function used to test the generator with ID payload.
103 *
104 * @param tester associated tester_t object
105 *
106 * @ingroup testcases
107 */
108 void test_generator_with_id_payload(tester_t *tester);
109
110 /**
111 * @brief Test function used to test the generator with AUTH payload.
112 *
113 * @param tester associated tester_t object
114 *
115 * @ingroup testcases
116 */
117 void test_generator_with_auth_payload(tester_t *tester);
118
119 /**
120 * @brief Test function used to test the generator with TS payload.
121 *
122 * @param tester associated tester_t object
123 *
124 * @ingroup testcases
125 */
126 void test_generator_with_ts_payload(tester_t *tester);
127
128 /**
129 * @brief Test function used to test the generator with CERT payload.
130 *
131 * @param tester associated tester_t object
132 *
133 * @ingroup testcases
134 */
135 void test_generator_with_cert_payload(tester_t *tester);
136
137
138 /**
139 * @brief Test function used to test the generator with CERTREQ payload.
140 *
141 * @param tester associated tester_t object
142 *
143 * @ingroup testcases
144 */
145 void test_generator_with_certreq_payload(tester_t *tester);
146
147
148 #endif /*GENERATOR_TEST_H_*/