summaryrefslogtreecommitdiffstats
path: root/pceplib/test/pcep_msg_messages_test.h
blob: a3295c74eb42e4da4b50d1ddecaf3f342c1a5b4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * This file is part of the PCEPlib, a PCEP protocol library.
 *
 * Copyright (C) 2020 Volta Networks https://voltanet.io/
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 *
 * Author : Javier Garcia <javier.garcia@voltanet.io>
 *
 */

/*
 *  Timer definitions to be used internally by the pcep_timers library.
 */

#ifndef PCEP_MSG_MSG_TEST_H_
#define PCEP_MSG_MSG_TEST_H_

/* functions to be tested from pcep-messages.c */
int pcep_messages_test_suite_setup(void);
int pcep_messages_test_suite_teardown(void);
void pcep_messages_test_setup(void);
void pcep_messages_test_teardown(void);
void test_pcep_msg_create_open(void);
void test_pcep_msg_create_request(void);
void test_pcep_msg_create_request_svec(void);
void test_pcep_msg_create_reply_nopath(void);
void test_pcep_msg_create_reply(void);
void test_pcep_msg_create_close(void);
void test_pcep_msg_create_error(void);
void test_pcep_msg_create_keepalive(void);
void test_pcep_msg_create_report(void);
void test_pcep_msg_create_update(void);
void test_pcep_msg_create_initiate(void);
void test_pcep_msg_create_notify(void);

#endif /* PCEPTIMERINTERNALS_H_ */