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

Test scenarios for wp_access and wp_access_void function templates. More...

#include "catch2/catch_test_macros.hpp"
#include <memory>
#include <cstddef>
#include "nonstd/expected.hpp"
#include "shared_test/mock_classes.hpp"
#include "net_ip/detail/wp_access.hpp"
Include dependency graph for wp_access_test.cpp:

Typedefs

using ne_wp = std::weak_ptr<chops::test::net_entity_mock>
 
using ne_sp = std::shared_ptr<chops::test::net_entity_mock>
 

Functions

 TEST_CASE ("Weak pointer access utility functions, empty weak ptr", "[wp_access]")
 
 TEST_CASE ("Weak pointer pointing to default constructed net_entity_mock")
 

Detailed Description

Test scenarios for wp_access and wp_access_void function templates.

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)