e25e0356d0122fd9cbc0829a5398886b4cb8a15d
4 * @brief Tests for the parser_t class.
9 * Copyright (C) 2005 Jan Hutter, Martin Willi
10 * Hochschule fuer Technik Rapperswil
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>.
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
23 #ifndef PARSER_TEST_H_
24 #define PARSER_TEST_H_
26 #include <utils/tester.h>
29 * @brief Test function used to test the parser_t functionality when
30 * parsing a header payload.
32 * @param tester associated tester_t object
36 void test_parser_with_header_payload(tester_t
*tester
);
39 * @brief Test function used to test the parser_t functionality when
40 * parsing a sa payload.
42 * @param tester associated tester_t object
46 void test_parser_with_sa_payload(tester_t
*tester
);
49 * @brief Test function used to test the parser_t functionality when
50 * parsing a nonce payload.
52 * @param tester associated tester_t object
56 void test_parser_with_nonce_payload(tester_t
*tester
);
59 * @brief Test function used to test the parser_t functionality when
60 * parsing a ID payload.
62 * @param tester associated tester_t object
66 void test_parser_with_id_payload(tester_t
*tester
);
69 * @brief Test function used to test the parser_t functionality when
70 * parsing a ke payload.
72 * @param tester associated tester_t object
76 void test_parser_with_ke_payload(tester_t
*tester
);
79 * @brief Test function used to test the parser_t functionality when
80 * parsing a notify payload.
82 * @param tester associated tester_t object
86 void test_parser_with_notify_payload(tester_t
*tester
);
89 * @brief Test function used to test the parser_t functionality when
90 * parsing a AUTH payload.
92 * @param tester associated tester_t object
96 void test_parser_with_auth_payload(tester_t
*tester
);
98 #endif /*PARSER_TEST_H_*/