component_testing::RealmBuilder
Summary
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, ...)
|
|
AddLocalChild(const std::string & child_name, LocalComponentFactory local_impl, const ChildOptions & options)
|
|
AddRoute(Route route)
|
|
Build(async_dispatcher_t *dispatcher)
|
|
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)
|
|
SetRealmCollection(const std::string & collection)
|
|
SetRealmName(const std::string & name)
|
|
StartOnBuild(bool start_on_build)
|
|
operator=(RealmBuilder &&)=default
|
|
operator=(const RealmBuilder &)=delete
|
|
root()
|
|
Public static functions
Public functions
AddChild
RealmBuilder & AddChild(
const std::string & child_name,
const std::string & url,
const ChildOptions & options
)
AddChildRealm
Realm AddChildRealm(
const std::string & child_name,
const ChildOptions & options
)
Build
RealmRoot Build(
async_dispatcher_t *dispatcher
)
GetComponentDecl
fuchsia::component::decl::Component GetComponentDecl(
const std::string & child_name
)
GetRealmDecl
fuchsia::component::decl::Component GetRealmDecl()
InitMutableConfigFromPackage
RealmBuilder & InitMutableConfigFromPackage(
const std::string & name
)
InitMutableConfigToEmpty
RealmBuilder & InitMutableConfigToEmpty(
const std::string & name
)
ReplaceComponentDecl
void ReplaceComponentDecl(
const std::string & child_name,
fuchsia::component::decl::Component decl
)
ReplaceRealmDecl
void ReplaceRealmDecl(
fuchsia::component::decl::Component decl
)
SetConfigValue
RealmBuilder & SetConfigValue(
const std::string & name,
const std::string & key,
ConfigValue value
)
SetRealmCollection
RealmBuilder & SetRealmCollection(
const std::string & collection
)
SetRealmName
RealmBuilder & SetRealmName(
const std::string & name
)
StartOnBuild
RealmBuilder & StartOnBuild(
bool start_on_build
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-27 UTC.
[[["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 2024-09-27 UTC."],[],[]]