fdf_testing::DriverUnderTestBase

Summary

Inheritance

Inherits from: fdf::WireAsyncEventHandler< fuchsia_driver_framework::Driver >
Direct Known Subclasses:fdf_testing::DriverUnderTest< Driver >

Constructors and Destructors

DriverUnderTestBase(DriverRegistration driver_registration_symbol)
~DriverUnderTestBase()

Public functions

PrepareStop()
Start(fdf::DriverStartArgs start_args)
Stop()
handle_unknown_event(fidl::UnknownEventMetadata< fuchsia_driver_framework::Driver > metadata) override
void
on_fidl_error(fidl::UnbindInfo error) override
void

Protected functions

GetDriver()
Driver *

Public functions

DriverUnderTestBase

 DriverUnderTestBase(
  DriverRegistration driver_registration_symbol
)

PrepareStop

DriverRuntime::AsyncTask< zx::result<> > PrepareStop()

Start

DriverRuntime::AsyncTask< zx::result<> > Start(
  fdf::DriverStartArgs start_args
)

Stop

zx::result Stop()

handle_unknown_event

void handle_unknown_event(
  fidl::UnknownEventMetadata< fuchsia_driver_framework::Driver > metadata
) override

on_fidl_error

void on_fidl_error(
  fidl::UnbindInfo error
) override

~DriverUnderTestBase

virtual  ~DriverUnderTestBase()

Protected functions

GetDriver

Driver * GetDriver()