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

unit test CommandArgument_test More...

Go to the source code of this file.

Description

unit test CommandArgument_test

Definition in file command-argument-test.cpp.

#include "lib/test/run.hpp"
#include "lib/test/test-helper.hpp"
#include "steam/control/command-storage-holder.hpp"
#include "lib/scoped-ptrvect.hpp"
#include "lib/format-string.hpp"
#include "lib/format-cout.hpp"
#include "lib/util-foreach.hpp"
#include "lib/util.hpp"
#include <functional>
#include <sstream>
#include <cstdlib>
#include <string>
#include <tuple>
#include <array>

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-argument-test.cpp}
 

Typedefs

typedef lib::ScopedPtrVect< CmdClosureArgTuples
 

Classes

struct  Tracker< TY >
 watching the instance creation of some parameter values More...
 
struct  Sint5
 Dummy custom memento datatype. More...
 
class  CommandArgument_test
 

Functions

void doIt (Tracker< TimeVar > time, Tracker< string > str, int rand)
 
Tracker< string > captureState (Tracker< TimeVar >, Tracker< string > xstr, int)
 
void undoIt (Tracker< TimeVar > time, Tracker< string >, int, Tracker< string > memento)
 
void dummyU (int, int, int)
 another dummy-UNDO function
 
int dummyC (int u, int o)
 
void showIt (CmdClosure &clo)
 
void checkSerialisation (CmdClosure &clo)
 
int twoRandomDigits ()
 
 LAUNCHER (CommandArgument_test, "unit controller")
 Register this test class...
 

Variables

ostringstream protocol
 used to verify the test function calls