Blender
V3.3
|
#include <BLI_exception_safety_test_utils.hh>
Public Member Functions | |
ExceptionThrower (int value=0) | |
ExceptionThrower (const ExceptionThrower &other) | |
ExceptionThrower (ExceptionThrower &&other) | |
ExceptionThrower & | operator= (const ExceptionThrower &other) |
ExceptionThrower & | operator= (ExceptionThrower &&other) |
~ExceptionThrower () | |
uint64_t | hash () const |
Public Attributes | |
bool | throw_during_copy |
bool | throw_during_move |
int | value |
Friends | |
bool | operator== (const ExceptionThrower &a, const ExceptionThrower &b) |
bool | operator!= (const ExceptionThrower &a, const ExceptionThrower &b) |
Definition at line 10 of file BLI_exception_safety_test_utils.hh.
|
inline |
Definition at line 27 of file BLI_exception_safety_test_utils.hh.
|
inline |
Definition at line 36 of file BLI_exception_safety_test_utils.hh.
References EXPECT_EQ(), and throw_during_copy.
|
inline |
Definition at line 44 of file BLI_exception_safety_test_utils.hh.
References EXPECT_EQ().
|
inline |
Definition at line 72 of file BLI_exception_safety_test_utils.hh.
References EXPECT_EQ(), and MEM_freeN.
|
inline |
Definition at line 88 of file BLI_exception_safety_test_utils.hh.
References value.
|
inline |
Definition at line 52 of file BLI_exception_safety_test_utils.hh.
References EXPECT_EQ(), throw_during_copy, and value.
|
inline |
Definition at line 62 of file BLI_exception_safety_test_utils.hh.
References EXPECT_EQ(), throw_during_move, and value.
|
friend |
Definition at line 98 of file BLI_exception_safety_test_utils.hh.
|
friend |
Definition at line 93 of file BLI_exception_safety_test_utils.hh.
|
mutable |
Definition at line 22 of file BLI_exception_safety_test_utils.hh.
Referenced by ExceptionThrower(), operator=(), and blender::tests::TEST().
|
mutable |
Definition at line 23 of file BLI_exception_safety_test_utils.hh.
Referenced by operator=().
int blender::tests::ExceptionThrower::value |
Definition at line 25 of file BLI_exception_safety_test_utils.hh.
Referenced by hash(), and operator=().