template <typename WlanSoftmacServer, typename = std::enable_if_t<std::is_constructible_v<
WlanSoftmacServer, fdf::ServerEnd<fuchsia_wlan_softmac::WlanSoftmac>>>>
class CustomEnvironment
Defined at line 20 of file ../../src/connectivity/wlan/drivers/wlansoftmac/tests/custom_environment.h
Type that provides an implementation of fdf_testing::Environment to provide the
a fuchsia.wlan.softmac/Service endpoint for a wlansoftmac driver instance to
connect to in a unit test.
Public Methods
zx::result<> Serve (fdf::OutgoingDirectory & to_driver_vfs)
Defined at line 22 of file ../../src/connectivity/wlan/drivers/wlansoftmac/tests/custom_environment.h
WlanSoftmacServer & GetServer ()
This is obviously super unsafe, but it's good enough for testing.
Defined at line 43 of file ../../src/connectivity/wlan/drivers/wlansoftmac/tests/custom_environment.h