Motr  M0
main.c
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2016-2020 Seagate Technology LLC and/or its Affiliates
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * For any questions about this software or licensing,
18  * please email opensource@seagate.com or cortx-questions@seagate.com.
19  *
20  */
21 
22 
23 
30 #include "ut/ut.h"
31 
32 extern void m0_ha_ut_cookie(void);
33 
34 extern void m0_ha_ut_msg_queue(void);
35 
36 extern void m0_ha_ut_lq(void);
37 extern void m0_ha_ut_lq_mark_delivered(void);
38 
39 extern void m0_ha_ut_link_usecase(void);
40 extern void m0_ha_ut_link_multithreaded(void);
41 extern void m0_ha_ut_link_reconnect_simple(void);
42 extern void m0_ha_ut_link_reconnect_multiple(void);
43 
44 extern void m0_ha_ut_entrypoint_usecase(void);
45 extern void m0_ha_ut_entrypoint_client(void);
46 
47 extern void m0_ha_ut_ha_usecase(void);
48 
49 struct m0_ut_suite ha_ut = {
50  .ts_name = "ha-ut",
51  .ts_init = NULL,
52  .ts_fini = NULL,
53  .ts_tests = {
54  { "cookie", &m0_ha_ut_cookie },
55  { "msg_queue", &m0_ha_ut_msg_queue },
56  { "lq", &m0_ha_ut_lq },
57  { "lq-mark_delivered", &m0_ha_ut_lq_mark_delivered },
58  { "link-usecase", &m0_ha_ut_link_usecase },
59  { "link-multithreaded", &m0_ha_ut_link_multithreaded },
60  { "link-reconnect_simple", &m0_ha_ut_link_reconnect_simple },
61  { "link-reconnect_multiple",&m0_ha_ut_link_reconnect_multiple },
62  { "entrypoint-usecase", &m0_ha_ut_entrypoint_usecase },
63  { "entrypoint-client", &m0_ha_ut_entrypoint_client },
64  { "ha-usecase", &m0_ha_ut_ha_usecase },
65  { NULL, NULL },
66  },
67 };
68 
71 /*
72  * Local variables:
73  * c-indentation-style: "K&R"
74  * c-basic-offset: 8
75  * tab-width: 8
76  * fill-column: 80
77  * scroll-step: 1
78  * End:
79  */
80 /*
81  * vim: tabstop=8 shiftwidth=8 noexpandtab textwidth=80 nowrap
82  */
void m0_ha_ut_cookie(void)
Definition: cookie.c:38
#define NULL
Definition: misc.h:38
void m0_ha_ut_entrypoint_client(void)
Definition: entrypoint.c:253
void m0_ha_ut_msg_queue(void)
Definition: msg_queue.c:44
void m0_ha_ut_lq_mark_delivered(void)
Definition: lq.c:133
Definition: ut.h:77
void m0_ha_ut_entrypoint_usecase(void)
Definition: entrypoint.c:199
void m0_ha_ut_lq(void)
Definition: lq.c:40
void m0_ha_ut_link_reconnect_simple(void)
Definition: link.c:483
void m0_ha_ut_link_multithreaded(void)
Definition: link.c:299
const char * ts_name
Definition: ut.h:99
void m0_ha_ut_link_reconnect_multiple(void)
Definition: link.c:581
struct m0_ut_suite ha_ut
Definition: main.c:49
void m0_ha_ut_ha_usecase(void)
Definition: ha.c:213
void m0_ha_ut_link_usecase(void)
Definition: link.c:148