![]() |
Lumiera 0.pre.04
»edit your freedom«
|
unit test MultiFactSingleton_test More...
Go to the source code of this file.
unit test MultiFactSingleton_test
Definition in file multifact-singleton-test.cpp.
#include "lib/test/run.hpp"#include "lib/test/test-helper.hpp"#include "lib/multifact.hpp"#include "lib/format-cout.hpp"#include "lib/util.hpp"#include <boost/lexical_cast.hpp>#include <string>Namespaces | |
| namespace | lib |
| Implementation namespace for support and library code. | |
| namespace | lib::test |
| Unit tests for the Lumiera support library. | |
| namespace | lib::test::anonymous_namespace{multifact-singleton-test.cpp} |
Typedefs | |
| typedef factory::MultiFact< Interface &, theID > | TestFactory |
Enumerations | |
| enum | theID { ONE = 1 , TWO , THR , FOU } |
Classes | |
| struct | Interface |
| class | Implementation< ii > |
| class | MultiFactSingleton_test |
Functions | |
| LAUNCHER (MultiFactSingleton_test, "unit common") | |
| Register this test class... | |
Variables | |
| TestFactory | theFact |
| Factory instance for the tests... | |
| TestFactory::Singleton< Implementation< ONE > > | holder1 {theFact,ONE} |
| TestFactory::Singleton< Implementation< TWO > > | holder2 {theFact,TWO} |
| TestFactory::Singleton< Implementation< THR > > | holder3 {theFact,THR} |
| TestFactory::Singleton< Implementation< FOU > > | holder4 {theFact,FOU} |