CppELib 1.7.0
|
Implementation of OSWrapper for Test Double. More...
Classes | |
class | TestDoubleEventFlag |
class | TestDoubleEventFlagFactory |
class | TestDoubleFixedMemoryPool |
class | TestDoubleFixedMemoryPoolFactory |
class | TestDoubleMutex |
class | TestDoubleMutexFactory |
class | TestDoubleOneShotTimer |
class | TestDoubleOneShotTimerFactory |
class | TestDoublePeriodicTimer |
class | TestDoublePeriodicTimerFactory |
class | TestDoubleThread |
class | TestDoubleThreadFactory |
class | TestDoubleVariableMemoryPool |
class | TestDoubleVariableMemoryPoolFactory |
Functions | |
void | init () |
Initialize the TestDoubleOSWrapper. | |
Implementation of OSWrapper for Test Double.
TestDoubleOSWrapper can be used in your application test code. This is used as concrete implementation of OSWrapper for test.
void TestDoubleOSWrapper::init | ( | ) |
Initialize the TestDoubleOSWrapper.
This is a helper function for using TestDoubleOSWrapper. All the factories of TestDoubleOSWrapper are generated and resistered.
If you want to change a part of the provided test dobule class behavior, you can override the test double class. See test code in TestDoubleOSWrapperTest directory as a sample code.