]> git.ipfire.org Git - people/ms/strongswan.git/blame - programs/charon/testing/send_queue_test.h
- import of strongswan-2.7.0
[people/ms/strongswan.git] / programs / charon / testing / send_queue_test.h
CommitLineData
e15f7292
JH
1/**
2 * @file send_queue_test.h
3 *
ed37dee6 4 * @brief Tests for the send_queue_t class.
e15f7292
JH
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 SEND_QUEUE_TEST_H_
24#define SEND_QUEUE_TEST_H_
25
94852e75 26#include <utils/tester.h>
e15f7292
JH
27
28/**
ed37dee6 29 * @brief Test function used to test the send_queue functionality.
e15f7292
JH
30 *
31 * Tests are performed using different threads to test the multi-threaded
32 * features of the send_queue_t.
33 *
ed37dee6
JH
34 * @param tester associated tester object
35 *
36 * @ingroup testcases
e15f7292 37 */
51d56047 38void test_send_queue(protected_tester_t *tester);
e15f7292
JH
39
40#endif /*SEND_QUEUE_TEST_H_*/