xref: /dpdk/app/test/test_cmdline.h (revision a9de470cc7c0649221e156fc5f30a2dbdfe7c166)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2010-2014 Intel Corporation
3  */
4 
5 #ifndef TEST_CMDLINE_H_
6 #define TEST_CMDLINE_H_
7 
8 #define CMDLINE_TEST_BUFSIZE 64
9 
10 /* cmdline_parse_num tests */
11 int test_parse_num_valid(void);
12 int test_parse_num_invalid_data(void);
13 int test_parse_num_invalid_param(void);
14 
15 /* cmdline_parse_etheraddr tests */
16 int test_parse_etheraddr_valid(void);
17 int test_parse_etheraddr_invalid_data(void);
18 int test_parse_etheraddr_invalid_param(void);
19 
20 /* cmdline_parse_portlist tests */
21 int test_parse_portlist_valid(void);
22 int test_parse_portlist_invalid_data(void);
23 int test_parse_portlist_invalid_param(void);
24 
25 /* cmdline_parse_ipaddr tests */
26 int test_parse_ipaddr_valid(void);
27 int test_parse_ipaddr_invalid_data(void);
28 int test_parse_ipaddr_invalid_param(void);
29 
30 /* cmdline_parse_string tests */
31 int test_parse_string_valid(void);
32 int test_parse_string_invalid_data(void);
33 int test_parse_string_invalid_param(void);
34 
35 /* cmdline_cirbuf tests */
36 int test_cirbuf_invalid_param(void);
37 int test_cirbuf_char(void);
38 int test_cirbuf_string(void);
39 int test_cirbuf_align(void);
40 
41 /* test the rest of the library */
42 int test_cmdline_lib(void);
43 
44 #endif /* TEST_CMDLINE_H_ */
45