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)
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
AddLocalChild(..., LocalComponentFactory, ...)
Realm Use
AddLocalChild(const std::string & child_name, LocalComponentFactory local_impl, const ChildOptions & options)
AddRoute(Route route)
GetComponentDecl(const std::string & child_name)
fuchsia::component::decl::Component
GetRealmDecl()
fuchsia::component::decl::Component
InitMutableConfigFromPackage(const std::string & name)
InitMutableConfigToEmpty(const std::string & name)
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)
SetConfigValue(const std::string & name, const std::string & key, ConfigValue value)
operator=(Realm &&)=default
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
)