Crate routing_test_helpers

Source

Modules§

availability
component_id_index
policy
rights
storage
storage_admin

Macros§

instantiate_common_routing_tests
The CommonRoutingTests are run under multiple contexts, e.g. both on Fuchsia under component_manager and on the build host under cm_fidl_analyzer. This macro helps ensure that all tests are run in each context.
instantiate_global_policy_checker_tests
These GlobalPolicyChecker tests are run under multiple contexts, e.g. both on Fuchsia under component_manager and on the build host under cm_fidl_analyzer. This macro helps ensure that all tests are run in each context.

Structs§

CommonRoutingTest
ComponentEventRoute

Enums§

CheckUse
ExpectedResult
ServiceInstance

Traits§

RoutingTestModel
A RoutingTestModel attempts to use capabilities from instances in a component model and checks the result of the attempt against an expectation.
RoutingTestModelBuilder
Builds an implementation of RoutingTestModel from a set of ComponentDecls.

Functions§

component_decl_with_exposed_binder
Same as above but with the component also exposing Binder protocol.
component_decl_with_test_runner
Returns an empty component decl set up to have a non-empty program and to use the “test_runner” runner.
default_component_decl
Returns an empty component decl for an executable component.
default_directory_capability
Construct a capability path for the hippo directory.
default_service_capability
Construct a capability path for the hippo service.
generate_storage_path