Lumiera  0.pre.03
»edit your freedom«
DependencyFactory_test Class Reference

Description

Test:
verify the various modes of creating dependencies.
  • standard case is singleton creation
  • configuration of a specific subclass for the singleton
  • use of a custom factory function
  • injection of a mock implementation for unit tests
See also
lib::Dependency
Singleton_test
DependencyConfiguration_test newer test from 2018 to cover the same ground

Definition at line 102 of file dependency-factory-test.cpp.

Private Member Functions

virtual void run (Arg)
 
void verify_automaticReplacement ()
 
void verify_customFactory ()
 
void verify_defaultSingletonCreation ()
 
void verify_FactoryDefinition_is_sticky ()
 
void verify_SubclassCreation ()
 

Static Private Member Functions

static SubSubDub * customFactoryFunction (void)
 
+ Inheritance diagram for DependencyFactory_test:
+ Collaboration diagram for DependencyFactory_test:

The documentation for this class was generated from the following file: