Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
unit test MultiFactArgument_test
Definition in file multifact-argument-test.cpp.
#include "lib/test/run.hpp"
#include "lib/test/test-helper.hpp"
#include "lib/format-cout.hpp"
#include "lib/multifact.hpp"
#include <functional>
Classes | |
class | MultiFactArgument_test |
struct | Num |
Typedefs | |
typedef std::map< prodID, function< Num(int)> > | DispatcherMap |
typedef factory::MultiFact< Num(int), prodID, factory::BuildRefcountPtr > | TestFactory |
the factory instantiation used for this test | |
Enumerations | |
enum | prodID { ONE = 1, TWO } |
Functions | |
Num * | fabricateNumberz (int base, int offset) |
dummy "factory" function to be invoked More... | |
LAUNCHER (MultiFactArgument_test, "unit common") | |
Register this test class... More... | |
Namespaces | |
lib | |
Implementation namespace for support and library code. | |
struct lib::test::anonymous_namespace{multifact-argument-test.cpp}::Num |
lib::test::LAUNCHER | ( | MultiFactArgument_test | , |
"unit common" | |||
) |
Register this test class...