-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathtest_ssl_rw.h
More file actions
64 lines (59 loc) · 3.04 KB
/
Copy pathtest_ssl_rw.h
File metadata and controls
64 lines (59 loc) · 3.04 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* test_ssl_rw.h
*
* Copyright (C) 2006-2026 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* wolfSSL 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
#ifndef TESTS_API_SSL_RW_H
#define TESTS_API_SSL_RW_H
#include <tests/api/api_decl.h>
int test_wolfSSL_send(void);
int test_wolfSSL_writev(void);
int test_wolfSSL_get_shutdown(void);
int test_wolfSSL_want(void);
int test_wolfSSL_pending_api(void);
int test_wolfSSL_rw_bad_args(void);
int test_wolfSSL_rw_info_callback(void);
int test_wolfSSL_write_ex_partial(void);
int test_wolfSSL_inject_app_data_ready(void);
int test_wolfSSL_shutdown_no_notify(void);
int test_wolfSSL_shutdown_repeat_after_done(void);
int test_wolfSSL_shutdown_flush_no_notify(void);
int test_wolfSSL_shutdown_quic_alert_refused(void);
int test_wolfSSL_SendUserCanceled_paths(void);
int test_wolfSSL_SendUserCanceled_quiet_shutdown(void);
int test_wolfSSL_write_dup_err(void);
#define TEST_SSL_RW_DECLS \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_send), \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_writev), \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_get_shutdown), \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_want), \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_pending_api), \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_rw_bad_args), \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_rw_info_callback), \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_write_ex_partial), \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_inject_app_data_ready), \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_shutdown_no_notify), \
TEST_DECL_GROUP("ssl_rw", \
test_wolfSSL_shutdown_repeat_after_done), \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_shutdown_flush_no_notify), \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_shutdown_quic_alert_refused), \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_SendUserCanceled_paths), \
TEST_DECL_GROUP("ssl_rw", \
test_wolfSSL_SendUserCanceled_quiet_shutdown), \
TEST_DECL_GROUP("ssl_rw", test_wolfSSL_write_dup_err)
#endif /* TESTS_API_SSL_RW_H */