BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Implements class CLASS? More...
Go to the source code of this file.
Classes | |
class | CallbackContainerTest |
Testing CallbackContainer class. More... | |
Functions | |
TEST_F (CallbackContainerTest, singleWidget) | |
Callback container notifies single widget. Check if removal of widget disables notifications. More... | |
TEST_F (CallbackContainerTest, twoParameters) | |
Callback function with two parameters. More... | |
TEST_F (CallbackContainerTest, twoWidgets) | |
Callback container notifies two widgets. More... | |
Implements class CLASS?
Definition in file callbackcontainer.test.cpp.
TEST_F | ( | CallbackContainerTest | , |
singleWidget | |||
) |
Callback container notifies single widget. Check if removal of widget disables notifications.
Definition at line 36 of file callbackcontainer.test.cpp.
References ModelView::SignalBase< T, U >::connect(), and ModelView::SignalBase< T, U >::remove_client().
TEST_F | ( | CallbackContainerTest | , |
twoParameters | |||
) |
Callback function with two parameters.
Definition at line 88 of file callbackcontainer.test.cpp.
References ModelView::SignalBase< T, U >::connect(), and ModelView::SignalBase< T, U >::remove_client().
TEST_F | ( | CallbackContainerTest | , |
twoWidgets | |||
) |
Callback container notifies two widgets.
Check if one widget is removed, the second is still notified.
Definition at line 61 of file callbackcontainer.test.cpp.
References ModelView::SignalBase< T, U >::connect(), and ModelView::SignalBase< T, U >::remove_client().