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

Description

Test:
create a bunch of objects with varying type and size, memorising how to kill them properly.

Verify everyone is dead after mass-kill. Use a checksum not only to verify the number of objects created and destroyed, but also the individual (random) contents of the data within the objects, to ensure that the correct destructor actually is invoked for each type.

See also
lib::DelStash

Definition at line 92 of file del-stash-test.cpp.

Private Member Functions

void checkAutoKill ()
 
void checkCustomKill ()
 
void checkMassKill ()
 
void checkSingleKill ()
 
void feedViktims (DelStash &killer)
 
virtual void run (Arg)
 

Member Function Documentation

◆ checkCustomKill()

void checkCustomKill ( )
inlineprivate
Test:
use a custom-provided deleter function

a very specific setup, bound to mess up the checksum, unless the random bias is removed by the custom deleter function

Definition at line 206 of file del-stash-test.cpp.

References lib::rani().

+ Here is the call graph for this function:
+ Inheritance diagram for DelStash_test:
+ Collaboration diagram for DelStash_test:

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