Lumiera  0.pre.03
»edit your freedom«
CustomSharedPtr_test Class Reference

Description

Test:
assure correct behaviour of lumiera's custom shared-ptr, including ADL of operators, shared ownership, typing and ordering
See also
lumiera::P

Definition at line 76 of file custom-shared-ptr-test.cpp.

Private Member Functions

void check_ordering ()
 
void check_ownership_transfer ()
 
void check_refcounting ()
 
void check_shared_ownership ()
 
void check_type_relations ()
 
virtual void run (Arg)
 

Member Function Documentation

◆ check_refcounting()

void check_refcounting ( )
inlineprivate
Test:
smart-ptr basic behaviour

Definition at line 91 of file custom-shared-ptr-test.cpp.

◆ check_shared_ownership()

void check_shared_ownership ( )
inlineprivate
Test:
cooperation with other shared-ptr types

Definition at line 122 of file custom-shared-ptr-test.cpp.

◆ check_type_relations()

void check_type_relations ( )
inlineprivate
Test:
building type relationships on smart-ptrs

Definition at line 186 of file custom-shared-ptr-test.cpp.

References INSTANCEOF.

◆ check_ordering()

void check_ordering ( )
inlineprivate
Test:
equality and ordering operators forwarded to pointee

Definition at line 250 of file custom-shared-ptr-test.cpp.

References VERIFY_ERROR.

+ Inheritance diagram for CustomSharedPtr_test:
+ Collaboration diagram for CustomSharedPtr_test:

The documentation for this class was generated from the following file: