Chops Net IP
Loading...
Searching...
No Matches
mock_classes.hpp File Reference

Mock classes shared between various chops_net_ip tests. More...

#include <memory>
#include <string_view>
#include <cstddef>
#include <system_error>
#include "asio/ip/udp.hpp"
#include "buffer/shared_buffer.hpp"
#include "net_ip/basic_io_interface.hpp"
#include "net_ip/basic_io_output.hpp"
#include "net_ip/simple_variable_len_msg_frame.hpp"
#include "net_ip/net_ip_error.hpp"
Include dependency graph for mock_classes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  chops::test::io_handler_mock
 
struct  chops::test::net_entity_mock
 

Typedefs

using chops::test::io_interface_mock = chops::net::basic_io_interface<io_handler_mock>
 
using chops::test::io_output_mock = chops::net::basic_io_output<io_handler_mock>
 

Functions

std::size_t chops::test::mock_hdr_decoder_func (const std::byte *, std::size_t)
 
void chops::test::io_state_chg_mock (io_interface_mock, std::size_t, bool)
 
void chops::test::err_func_mock (io_interface_mock, std::error_code)
 

Detailed Description

Mock classes shared between various chops_net_ip tests.

Author
Cliff Green

Copyright (c) 2017-2019 by Cliff Green

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)