component_testing::Realm

Summary

Constructors and Destructors

Realm(Realm &&)
Realm(const Realm &)

Friend classes

RealmBuilder
friend class

Public functions

AddChild(const std::string & child_name, const std::string & url, const ChildOptions & options)
Realm &
AddChildRealm(const std::string & child_name, const ChildOptions & options)
AddLocalChild(const std::string & child_name, LocalComponent *local_impl, const ChildOptions & options) ZX_REMOVED_SINCE(1
Realm &
AddLocalChild(..., LocalComponentFactory, ...)
Realm Use
AddLocalChild(const std::string & child_name, LocalComponentFactory local_impl, const ChildOptions & options)
Realm &
AddRoute(Route route)
Realm &
GetComponentDecl(const std::string & child_name)
fuchsia::component::decl::Component
GetRealmDecl()
fuchsia::component::decl::Component
InitMutableConfigFromPackage(const std::string & name)
Realm &
InitMutableConfigToEmpty(const std::string & name)
Realm &
ReplaceComponentDecl(const std::string & child_name, fuchsia::component::decl::Component decl)
void
ReplaceRealmDecl(fuchsia::component::decl::Component decl)
void
RouteReadOnlyDirectory(const std::string & name, std::vector< Ref > to, DirectoryContents directory)
Realm &
SetConfigValue(const std::string & name, const std::string & key, ConfigValue value)
Realm &
operator=(Realm &&)=default
Realm &
operator=(const Realm &)=delete

Friend classes

RealmBuilder

friend class RealmBuilder

Public functions

AddChild

Realm & AddChild(
  const std::string & child_name,
  const std::string & url,
  const ChildOptions & options
)

AddChildRealm

Realm AddChildRealm(
  const std::string & child_name,
  const ChildOptions & options
)

AddLocalChild

Realm & AddLocalChild(
  const std::string & child_name,
  LocalComponent *local_impl,
  const ChildOptions & options
) ZX_REMOVED_SINCE(1

AddLocalChild

Realm Use AddLocalChild(
  ...,
  LocalComponentFactory,
  ...
)

AddLocalChild

Realm & AddLocalChild(
  const std::string & child_name,
  LocalComponentFactory local_impl,
  const ChildOptions & options
)

AddRoute

Realm & AddRoute(
  Route route
)

GetComponentDecl

fuchsia::component::decl::Component GetComponentDecl(
  const std::string & child_name
)

GetRealmDecl

fuchsia::component::decl::Component GetRealmDecl()

InitMutableConfigFromPackage

Realm & InitMutableConfigFromPackage(
  const std::string & name
)

InitMutableConfigToEmpty

Realm & InitMutableConfigToEmpty(
  const std::string & name
)

Realm

 Realm(
  Realm &&
)=default

Realm

 Realm(
  const Realm &
)=delete

ReplaceComponentDecl

void ReplaceComponentDecl(
  const std::string & child_name,
  fuchsia::component::decl::Component decl
)

ReplaceRealmDecl

void ReplaceRealmDecl(
  fuchsia::component::decl::Component decl
)

RouteReadOnlyDirectory

Realm & RouteReadOnlyDirectory(
  const std::string & name,
  std::vector< Ref > to,
  DirectoryContents directory
)

SetConfigValue

Realm & SetConfigValue(
  const std::string & name,
  const std::string & key,
  ConfigValue value
)

operator=

Realm & operator=(
  Realm &&
)=default

operator=

Realm operator=(
  const Realm &
)=delete