Chops Net IP
|
Test scenarios for basic_io_interface
class template.
More...
#include "catch2/catch_test_macros.hpp"
#include <memory>
#include <set>
#include <cstddef>
#include "net_ip/basic_io_interface.hpp"
#include "net_ip/basic_io_output.hpp"
#include "shared_test/mock_classes.hpp"
Functions | |
std::size_t | do_nothing_hdr_decoder (const std::byte *, std::size_t) |
template<typename IOT > | |
void | basic_io_interface_test_default_constructed () |
template<typename IOT , typename F > | |
void | basic_io_interface_test_start_io (F &&func) |
template<typename IOT > | |
void | basic_io_interface_test_all_start_io () |
template<typename IOT > | |
void | basic_io_interface_test_other_methods () |
template<typename IOT > | |
void | check_set (const std::set< chops::net::basic_io_interface< IOT > > &io_set, const chops::net::basic_io_interface< IOT > &io1, const chops::net::basic_io_interface< IOT > &io2, const chops::net::basic_io_interface< IOT > &io3) |
template<typename IOT > | |
void | basic_io_interface_test_compare () |
TEST_CASE ("Basic io interface test, io_handler_mock used for IO handler type", "[basic_io_interface] [io_handler_mock]") | |
Test scenarios for basic_io_interface
class template.
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)