Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
tracking-dummy.hpp File Reference

unittest helper code: test dummy objects to track instances. More...

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>

Namespaces

namespace  lib
 Implementation namespace for support and library code.
 
namespace  lib::test
 Unit tests for the Lumiera support library.
 

Classes

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