component_testing::Realm
Summary
Public functions
|
AddCapability(fuchsia::component::decl::Capability capability)
|
|
AddChild(const std::string & child_name, const std::string & url, const ChildOptions & options)
|
|
AddChildRealm(const std::string & child_name, const ChildOptions & options)
|
|
AddCollection(fuchsia::component::decl::Collection collection)
|
|
AddConfiguration(std::vector< ConfigCapability > configurations)
|
|
AddEnvironment(fuchsia::component::decl::Environment environment)
|
|
AddLocalChild(const std::string & child_name, LocalComponent *local_impl, const ChildOptions & options) ZX_REMOVED_SINCE(1
|
|
AddLocalChild(..., LocalComponentFactory, ...)
|
|
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
AddCapability
Realm & AddCapability(
fuchsia::component::decl::Capability capability
)
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
)
AddCollection
Realm & AddCollection(
fuchsia::component::decl::Collection collection
)
AddEnvironment
Realm & AddEnvironment(
fuchsia::component::decl::Environment environment
)
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
)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-18 UTC."],[],[]]