Debian Codegraph @

unittest/gunit/xplugin/xpl/mock/mock.cc

raw symbols SCIP
1 /*
2 * Copyright (c) 2021, 2026, Oracle and/or its affiliates.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License, version 2.0,
6 * as published by the Free Software Foundation.
7 *
8 * This program is designed to work with certain software (including
9 * but not limited to OpenSSL) that is licensed under separate terms,
10 * as designated in a particular file or component or in included license
11 * documentation. The authors of MySQL hereby grant you an additional
12 * permission to link the program and your derivative works with the
13 * separately licensed software that they have either included with
14 * the program or referenced in the documentation.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License, version 2.0, for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24 */
25
26 #include "unittest/gunit/xplugin/xpl/mock/account_verification.h"
27 #include "unittest/gunit/xplugin/xpl/mock/account_verification_handler.h"
28 #include "unittest/gunit/xplugin/xpl/mock/authentication.h"
29 #include "unittest/gunit/xplugin/xpl/mock/authentication_container.h"
30 #include "unittest/gunit/xplugin/xpl/mock/capabilities_configurator.h"
31 #include "unittest/gunit/xplugin/xpl/mock/capability_handler.h"
32 #include "unittest/gunit/xplugin/xpl/mock/client.h"
33 #include "unittest/gunit/xplugin/xpl/mock/document_id_aggregator.h"
34 #include "unittest/gunit/xplugin/xpl/mock/document_id_generator.h"
35 #include "unittest/gunit/xplugin/xpl/mock/file.h"
36 #include "unittest/gunit/xplugin/xpl/mock/listener_factory.h"
37 #include "unittest/gunit/xplugin/xpl/mock/message_dispatcher.h"
38 #include "unittest/gunit/xplugin/xpl/mock/notice_configuration.h"
39 #include "unittest/gunit/xplugin/xpl/mock/notice_output_queue.h"
40 #include "unittest/gunit/xplugin/xpl/mock/operations_factory.h"
41 #include "unittest/gunit/xplugin/xpl/mock/protocol_encoder.h"
42 #include "unittest/gunit/xplugin/xpl/mock/protocol_monitor.h"
43 #include "unittest/gunit/xplugin/xpl/mock/scheduler_dynamic.h"
44 #include "unittest/gunit/xplugin/xpl/mock/server.h"
45 #include "unittest/gunit/xplugin/xpl/mock/service_sys_variables.h"
46 #include "unittest/gunit/xplugin/xpl/mock/session.h"
47 #include "unittest/gunit/xplugin/xpl/mock/sha256_password_cache.h"
48 #include "unittest/gunit/xplugin/xpl/mock/socket.h"
49 #include "unittest/gunit/xplugin/xpl/mock/socket_events.h"
50 #include "unittest/gunit/xplugin/xpl/mock/sql_session.h"
51 #include "unittest/gunit/xplugin/xpl/mock/srv_session_services.h"
52 #include "unittest/gunit/xplugin/xpl/mock/ssl_context.h"
53 #include "unittest/gunit/xplugin/xpl/mock/ssl_context_options.h"
54 #include "unittest/gunit/xplugin/xpl/mock/ssl_session_options.h"
55 #include "unittest/gunit/xplugin/xpl/mock/system.h"
56 #include "unittest/gunit/xplugin/xpl/mock/vio.h"
57 #include "unittest/gunit/xplugin/xpl/mock/waiting_for_io.h"
58
59 namespace xpl {
60 namespace test {
61 namespace mock {
62
63 Account_verification_handler::Account_verification_handler() {}
64 Account_verification_handler::~Account_verification_handler() {}
65
66 Account_verification::Account_verification() {}
67 Account_verification::~Account_verification() {}
68
69 Authentication_container::Authentication_container() {}
70 Authentication_container::~Authentication_container() {}
71
72 Authentication::Authentication() {}
73 Authentication::~Authentication() {}
74
75 Capability_handler::Capability_handler() {}
76 Capability_handler::~Capability_handler() {}
77
78 Client::Client() {}
79 Client::~Client() {}
80
81 Document_id_aggregator::Document_id_aggregator() {}
82 Document_id_aggregator::~Document_id_aggregator() {}
83
84 Document_id_generator::Document_id_generator() {}
85 Document_id_generator::~Document_id_generator() {}
86
87 File::File() {}
88 File::~File() {}
89
90 Listener_factory::Listener_factory() {}
91 Listener_factory::~Listener_factory() {}
92
93 Message_dispatcher::Message_dispatcher() {}
94 Message_dispatcher::~Message_dispatcher() {}
95
96 Notice_configuration::Notice_configuration() {}
97 Notice_configuration::~Notice_configuration() {}
98
99 Notice_output_queue::Notice_output_queue() {}
100 Notice_output_queue::~Notice_output_queue() {}
101
102 Operations_factory::Operations_factory() {}
103 Operations_factory::~Operations_factory() {}
104
105 Protocol_encoder::Protocol_encoder() {}
106 Protocol_encoder::~Protocol_encoder() {}
107
108 Protocol_monitor::Protocol_monitor() {}
109 Protocol_monitor::~Protocol_monitor() {}
110
111 Scheduler_dynamic::Scheduler_dynamic() {}
112 Scheduler_dynamic::~Scheduler_dynamic() {}
113
114 Server::Server() {}
115 Server::~Server() {}
116
117 Service_sys_variables::Service_sys_variables() {}
118 Service_sys_variables::~Service_sys_variables() {}
119
120 Session::Session() {}
121 Session::~Session() {}
122
123 Sha256_password_cache::Sha256_password_cache() {}
124 Sha256_password_cache::~Sha256_password_cache() {}
125
126 Cache_based_verification::Cache_based_verification(
127 xpl::iface::SHA256_password_cache *cache)
128 : xpl::Cache_based_verification(cache) {}
129 Cache_based_verification::~Cache_based_verification() {}
130
131 Socket_events::Socket_events() {}
132 Socket_events::~Socket_events() {}
133
134 Socket::Socket() {}
135 Socket::~Socket() {}
136
137 Sql_session::Sql_session() {}
138 Sql_session::~Sql_session() {}
139
140 Srv_session::Srv_session() {
141 assert(nullptr == m_srv_session);
142 m_srv_session = this;
143 }
144 Srv_session::~Srv_session() { m_srv_session = nullptr; }
145
146 Srv_session_info::Srv_session_info() {
147 assert(nullptr == m_srv_session_info);
148 m_srv_session_info = this;
149 }
150 Srv_session_info::~Srv_session_info() { m_srv_session_info = nullptr; }
151
152 Ssl_context_options::Ssl_context_options() {}
153 Ssl_context_options::~Ssl_context_options() {}
154
155 Ssl_context::Ssl_context() {}
156 Ssl_context::~Ssl_context() {}
157
158 Ssl_session_options::Ssl_session_options() {}
159 Ssl_session_options::~Ssl_session_options() {}
160
161 System::System() {}
162 System::~System() {}
163
164 Vio::Vio() {}
165 Vio::~Vio() {}
166
167 Waiting_for_io::Waiting_for_io() {}
168 Waiting_for_io::~Waiting_for_io() {}
169
170 } // namespace mock
171 } // namespace test
172 } // namespace xpl