Chops Net IP
Loading...
Searching...
No Matches
endpoints_resolver_test.cpp File Reference

Test scenarios for make_endpoints functions. More...

#include "catch2/catch_test_macros.hpp"
#include "asio/ip/tcp.hpp"
#include "asio/ip/udp.hpp"
#include "asio/ip/basic_resolver.hpp"
#include <system_error>
#include <utility>
#include <future>
#include <string_view>
#include "net_ip/endpoints_resolver.hpp"
#include "net_ip_component/worker.hpp"
Include dependency graph for endpoints_resolver_test.cpp:

Functions

template<typename Protocol >
void make_endpoints_test (bool local, std::string_view host, std::string_view port, bool expected_good)
 
 TEST_CASE ("Make endpoints remote test, TCP 1", "[make_endpoints] [tcp]")
 
 TEST_CASE ("Make endpoints remote test, TCP 2", "[make_endpoints] [tcp]")
 
 TEST_CASE ("Make endpoints local test, TCP 3", "[make_endpoints] [tcp]")
 
 TEST_CASE ("Make endpoints remote test, UDP 1", "[make_endpoints] [udp]")
 
 TEST_CASE ("Make endpoints remote test, UDP 2", "[make_endpoints] [udp]")
 
 TEST_CASE ("Make endpoints local test, UDP 3", "[make_endpoints] [udp]")
 

Detailed Description

Test scenarios for make_endpoints functions.

Author
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)