![]() |
Flutter Engine
The Flutter Engine
|
#include <dart_test_component_controller.h>
Public Member Functions | |
DartTestComponentController (fuchsia::component::runner::ComponentStartInfo start_info, std::shared_ptr< sys::ServiceDirectory > runner_incoming_services, fidl::InterfaceRequest< fuchsia::component::runner::ComponentController > controller, DoneCallback done_callback) | |
~DartTestComponentController () override | |
void | SetUp () |
void | GetTests (fidl::InterfaceRequest< fuchsia::test::CaseIterator > iterator) override |
|Suite| protocol implementation. More... | |
void | Run (std::vector< fuchsia::test::Invocation > tests, fuchsia::test::RunOptions options, fidl::InterfaceHandle< fuchsia::test::RunListener > listener) override |
|Suite| protocol implementation. More... | |
fidl::InterfaceRequestHandler< fuchsia::test::Suite > | GetHandler () |
Starts a Dart test component written in CFv2. It's different from DartComponentController in that it must implement the |fuchsia.test.Suite| protocol. It was forked to avoid a naming clash between the two classes' methods as the Suite protocol requires a Run() method for the test_manager to call on. This way, we avoid an extra layer between the test_manager and actual test execution. TODO(fxb/98369): Look into combining the two component classes once dart testing is stable.
Definition at line 35 of file dart_test_component_controller.h.
dart_runner::DartTestComponentController::DartTestComponentController | ( | fuchsia::component::runner::ComponentStartInfo | start_info, |
std::shared_ptr< sys::ServiceDirectory > | runner_incoming_services, | ||
fidl::InterfaceRequest< fuchsia::component::runner::ComponentController > | controller, | ||
DoneCallback | done_callback | ||
) |
Definition at line 102 of file dart_test_component_controller.cc.
|
override |
Definition at line 146 of file dart_test_component_controller.cc.
|
inline |
Definition at line 64 of file dart_test_component_controller.h.
|
override |
|Suite| protocol implementation.
Definition at line 408 of file dart_test_component_controller.cc.
|
override |
|Suite| protocol implementation.
Definition at line 419 of file dart_test_component_controller.cc.
void dart_runner::DartTestComponentController::SetUp | ( | ) |
Sets up the controller.
This should be called before |Run|.
Definition at line 155 of file dart_test_component_controller.cc.