class ExecutionController
Defined at line 18 of file ../../sdk/lib/sys/component/cpp/testing/execution_controller.h
A controller used to influence and observe a specific execution of a
component. The component will be stopped when this is destroyed if it is
still running from the `Start` call that created this controller. If the
component has already stopped, or even been restarted by some other action,
then dropping this will do nothing.
Public Methods
void ExecutionController (fuchsia::component::ExecutionControllerPtr execution_controller_proxy)
Defined at line 20 of file ../../sdk/lib/sys/component/cpp/testing/execution_controller.h
void Stop ()
Initiates a stop action if the component is not already in the process of
or has finished stopping.
Defined at line 26 of file ../../sdk/lib/sys/component/cpp/testing/execution_controller.h
void OnStop (StopCallback callback)
Sets a callback to be invoked when the current execution of the component
has stopped.
Defined at line 32 of file ../../sdk/lib/sys/component/cpp/testing/execution_controller.h