summaryrefslogtreecommitdiff
path: root/pceplib/test/pcep_session_logic_states_test.h
blob: 3d8dcc030dff28e922b8f77d6b1786618425a95b (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
// SPDX-License-Identifier: LGPL-2.1-or-later
/*
 * This file is part of the PCEPlib, a PCEP protocol library.
 *
 * Copyright (C) 2020 Volta Networks https://voltanet.io/
 *
 * Author : Javier Garcia <javier.garcia@voltanet.io>
 *
 */

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

#ifndef PCEP_SESSION_LOGIC_STATES_TEST_H
#define PCEP_SESSION_LOGIC_STATES_TEST_H

int pcep_session_logic_states_test_suite_setup(void);
int pcep_session_logic_states_test_suite_teardown(void);
void pcep_session_logic_states_test_setup(void);
void pcep_session_logic_states_test_teardown(void);
void test_handle_timer_event_dead_timer(void);
void test_handle_timer_event_keep_alive(void);
void test_handle_timer_event_open_keep_wait(void);
void test_handle_socket_comm_event_null_params(void);
void test_handle_socket_comm_event_close(void);
void test_handle_socket_comm_event_open(void);
void test_handle_socket_comm_event_open_error(void);
void test_handle_socket_comm_event_keep_alive(void);
void test_handle_socket_comm_event_pcrep(void);
void test_handle_socket_comm_event_pcreq(void);
void test_handle_socket_comm_event_report(void);
void test_handle_socket_comm_event_update(void);
void test_handle_socket_comm_event_initiate(void);
void test_handle_socket_comm_event_notify(void);
void test_handle_socket_comm_event_error(void);
void test_handle_socket_comm_event_unknown_msg(void);
void test_connection_failure(void);

#endif /* PCEPTIMERINTERNALS_H_ */