Lumiera  0.pre.03
»edit your freedom«
command-mutation-test.cpp File Reference

Go to the source code of this file.

Description

unit test CommandMutation_test

Definition in file command-mutation-test.cpp.

#include "lib/test/run.hpp"
#include "lib/test/test-helper.hpp"
#include "steam/control/command-mutation.hpp"
#include "steam/control/command-simple-closure.hpp"
#include "steam/control/memento-tie.hpp"
#include "lib/meta/tuple-helper.hpp"
#include "lib/meta/typelist.hpp"
#include "lib/format-cout.hpp"
#include <functional>
#include <cstdlib>
#include <string>

Classes

class  CommandMutation_test
 Verify the behaviour of the type erased closure, which is used by Steam-Layer commands to implement the capturing and later re-invocation of a function. More...
 

Functions

int capture ()
 
 LAUNCHER (CommandMutation_test, "unit controller")
 Register this test class... More...
 
void testFunc (int val)
 

Variables

int testVal =0
 used to verify the effect of testFunc
 

Namespaces

 steam
 Steam-Layer implementation namespace root.
 
 steam::control
 Steam-Layer dispatcher, controller and administrative facilities.
 

Function Documentation

◆ LAUNCHER()

steam::control::test::LAUNCHER ( CommandMutation_test  ,
"unit controller"   
)

Register this test class...