class UITestRealm
Defined at line 39 of file ../../src/ui/testing/ui_test_realm/ui_test_realm.h
Library class to manage test realm on behalf of UI integration test clients.
Public Methods
void ~UITestRealm ()
Defined at line 112 of file ../../src/ui/testing/ui_test_realm/ui_test_realm.h
const std::optional<component_testing::RealmRoot> & realm_root ()
Defined at line 130 of file ../../src/ui/testing/ui_test_realm/ui_test_realm.h
const Config & config ()
Defined at line 132 of file ../../src/ui/testing/ui_test_realm/ui_test_realm.h
void UITestRealm (Config config)
Defined at line 167 of file ../../src/ui/testing/ui_test_realm/ui_test_realm.cc
component_testing::Realm AddSubrealm ()
Adds a child to the realm under construction, and returns the new child.
Must NOT be called after BuildRealm().
Defined at line 196 of file ../../src/ui/testing/ui_test_realm/ui_test_realm.cc
void Build ()
Calls realm_builder_.Build();
Defined at line 467 of file ../../src/ui/testing/ui_test_realm/ui_test_realm.cc
void Teardown (component_testing::ScopedChild::TeardownCallback on_teardown_complete)
Calls realm_builder_.Teardown();
Defined at line 504 of file ../../src/ui/testing/ui_test_realm/ui_test_realm.cc
std::unique_ptr<sys::ServiceDirectory> CloneExposedServicesDirectory ()
Returns a clone of the realm's exposed services directory.
Clients should call this method once, and retain the handle returned.
MUST be called AFTER Build().
Defined at line 508 of file ../../src/ui/testing/ui_test_realm/ui_test_realm.cc
Enumerations
enum AccessibilityOwnerType
| Name | Value |
|---|---|
| FAKE | 1 |
| REAL | 2 |
Defined at line 41 of file ../../src/ui/testing/ui_test_realm/ui_test_realm.h