Lumiera  0.pre.03
»edit your freedom«
diagnostic-context-test.cpp File Reference

Go to the source code of this file.

Description

unit test DiagnosticContext_test

Definition in file diagnostic-context-test.cpp.

#include "lib/test/run.hpp"
#include "lib/test/test-helper.hpp"
#include "lib/diagnostic-context.hpp"
#include "lib/iter-explorer.hpp"
#include "lib/thread.hpp"
#include <vector>
#include <chrono>
#include <array>

Classes

class  DiagnosticContext_test
 
struct  DiagnosticContext_test::TestThread
 build a call stack within separate thread and capture diagnostics More...
 

Typedefs

typedef DiagnosticContext< uint > Marker
 Subject of this test: a thread-local stack of int values.
 

Functions

 LAUNCHER (DiagnosticContext_test, "function common")
 Register this test class... More...
 

Variables

auto isOdd = [](auto val) { return bool (val % 2); }
 
const uint MAX_RAND = 100*1000
 
const uint NUM_THREADS = 75
 

Namespaces

 lib
 Implementation namespace for support and library code.
 

Function Documentation

◆ LAUNCHER()

lib::test::LAUNCHER ( DiagnosticContext_test  ,
"function common"   
)

Register this test class...