Lumiera  0.pre.03
»edit your freedom«
tracking-dummy.hpp File Reference

Go to the source code of this file.

Description

unittest helper code: test dummy objects to track instances.

These can be used to verify proper allocation handling, either by watching the checksum of Dummy, or by matching on the EventLog embedded into Tracker.

Definition in file tracking-dummy.hpp.

#include "lib/nocopy.hpp"
#include "lib/test/event-log.hpp"
#include "lib/format-string.hpp"
#include "lib/random.hpp"
#include "lib/util.hpp"
#include <algorithm>
#include <limits>

Classes

class  Dummy
 A Dummy object for tests. More...
 
struct  Tracker
 A tracking Dummy object for tests. More...
 

Namespaces

 lib
 Implementation namespace for support and library code.