macro_rules! enable_weak_link_test { ($props:expr, $link:expr) => { ... }; }
Expand description
A macro which set a property called weak_link on the container
Properties when cfg(test), such that unit tests may send messages to a
component. This macro needs to be called in create() on any Component
which needs to receive messages in a test.