Bitcoin Core 32.99.0
P2P Digital Currency
Concepts | Functions
util_not_null_tests.cpp File Reference
#include <sync.h>
#include <test/util/common.h>
#include <util/not_null.h>
#include <boost/test/unit_test.hpp>
#include <memory>
#include <set>
#include <type_traits>
#include <unordered_set>
Include dependency graph for util_not_null_tests.cpp:

Go to the source code of this file.

Concepts

concept  NotNullConstructible
 
concept  NotNullType
 
concept  NotNullCopyConvertible
 
concept  NotNullMoveConvertible
 
concept  NullptrComparable
 
concept  HasOperatorBool
 

Functions

 BOOST_AUTO_TEST_CASE (check_ctor)
 
 BOOST_AUTO_TEST_CASE (check_ctor_ref)
 
 BOOST_AUTO_TEST_CASE (check_ctor_conv)
 
 BOOST_AUTO_TEST_CASE (check_cross_type_conversion)
 
 BOOST_AUTO_TEST_CASE (check_null_smart_pointer)
 
 BOOST_AUTO_TEST_CASE (check_nullptr_compare)
 
 BOOST_AUTO_TEST_CASE (check_nocopy_ptr)
 
 BOOST_AUTO_TEST_CASE (check_derived)
 
 BOOST_AUTO_TEST_CASE (check_move)
 
 BOOST_AUTO_TEST_CASE (check_swap)
 
 BOOST_AUTO_TEST_CASE (check_deref)
 
 BOOST_AUTO_TEST_CASE (check_compare_set)
 
 BOOST_AUTO_TEST_CASE (check_hash_set)
 
 BOOST_AUTO_TEST_CASE (check_tsa)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/14]

BOOST_AUTO_TEST_CASE ( check_compare_set  )

Definition at line 210 of file util_not_null_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/14]

BOOST_AUTO_TEST_CASE ( check_cross_type_conversion  )

Definition at line 99 of file util_not_null_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/14]

BOOST_AUTO_TEST_CASE ( check_ctor  )

Definition at line 24 of file util_not_null_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/14]

BOOST_AUTO_TEST_CASE ( check_ctor_conv  )

Definition at line 48 of file util_not_null_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/14]

BOOST_AUTO_TEST_CASE ( check_ctor_ref  )

Definition at line 42 of file util_not_null_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/14]

BOOST_AUTO_TEST_CASE ( check_deref  )

Definition at line 201 of file util_not_null_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/14]

BOOST_AUTO_TEST_CASE ( check_derived  )

Definition at line 160 of file util_not_null_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/14]

BOOST_AUTO_TEST_CASE ( check_hash_set  )

Definition at line 221 of file util_not_null_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [9/14]

BOOST_AUTO_TEST_CASE ( check_move  )

Definition at line 180 of file util_not_null_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/14]

BOOST_AUTO_TEST_CASE ( check_nocopy_ptr  )

Definition at line 144 of file util_not_null_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/14]

BOOST_AUTO_TEST_CASE ( check_null_smart_pointer  )

Definition at line 120 of file util_not_null_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [12/14]

BOOST_AUTO_TEST_CASE ( check_nullptr_compare  )

Definition at line 134 of file util_not_null_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/14]

BOOST_AUTO_TEST_CASE ( check_swap  )

Definition at line 191 of file util_not_null_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [14/14]

BOOST_AUTO_TEST_CASE ( check_tsa  )

Definition at line 232 of file util_not_null_tests.cpp.

Here is the call graph for this function: