- Test:
- this is a collection of tests to cover the configuration options available as policy arguments when establishing the collaboration.
- default advice values, or blocking or throwing
- using activation signals on both sides
- dispatch without locking (TODO any chance we can cover this by test??)
- more to come....
- Todo:
- partially unimplemented and thus commented out ////////////////////TICKET #605
- See also
- advice.hpp
-
AdviceBasics_test
-
AdviceSituations_test
Definition at line 79 of file advice-configuration-test.cpp.
◆ checkDefaultAdvice()
void checkDefaultAdvice |
( |
| ) |
|
|
inlineprivate |
- Test:
- typically, advice is a default constructible value, so there is a natural fallback in case no active advice provision exists.
Alternatively we may specify to throw.
Definition at line 96 of file advice-configuration-test.cpp.
◆ checkSignals()
- Test:
- when opening the advice collaboration, both sides may independently install a signal (callback functor) to be invoked when the actual advice solution gets established.
Definition at line 108 of file advice-configuration-test.cpp.
◆ blockOnAdvice()
- Test:
- instead of allowing default advice values, both sides may enter a blocking wait until an advice solution is available.
This is implemented as special case of using signals
Definition at line 120 of file advice-configuration-test.cpp.
The documentation for this class was generated from the following file: