Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
command-mutation-test.cpp File Reference

unit test CommandMutation_test More...

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>

Namespaces

namespace  steam
 Steam-Layer implementation namespace root.
 
namespace  steam::control
 Steam-Layer dispatcher, controller and administrative facilities.
 
namespace  steam::control::test
 
namespace  steam::control::test::anonymous_namespace{command-mutation-test.cpp}
 

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

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

Variables

int testVal =0
 used to verify the effect of testFunc