tree: 1f99f370c4830db167cc1829205ec1a004d81679 [path history] [tgz]
  1. meta/
  2. src/

Component Resolvers test

Tests that Component Resolvers, implemented by components, are routed correctly.

The custom resolver resolves a URL with a custom scheme that constructs a ComponentDecl on the fly.

The integration test tries to access a protocol that is served by the component represented by the custom URL. If the protocol is served correctly, this means that the Component Resolver was successful.


To add this component to your build, append --with-base src/sys/component_resolver/tests/resolvers to the fx set invocation.

Running the test

$ fx test component-manager-test-resolver