| // Copyright 2022 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| { | |
| include: [ | |
| "//src/sys/test_runners/rust/default.shard.cml", | |
| "inspect/offer.shard.cml", | |
| "syslog/client.shard.cml", | |
| ], | |
| program: { | |
| binary: "bin/component_debug_integration_test", | |
| }, | |
| children: [ | |
| { | |
| name: "foo", | |
| url: "#meta/foo.cm", | |
| startup: "eager", | |
| }, | |
| { | |
| name: "echo_server", | |
| url: "#meta/echo_server.cm", | |
| }, | |
| ], | |
| collections: [ | |
| { | |
| name: "for_manifest_resolution", | |
| durability: "transient", | |
| }, | |
| ], | |
| capabilities: [ | |
| { | |
| directory: "data", | |
| rights: [ "rw*" ], | |
| path: "/data", | |
| }, | |
| { protocol: "fuchsia.foo.Bar" }, | |
| ], | |
| use: [ | |
| { | |
| protocol: "fuchsia.sys2.RealmExplorer", | |
| from: "framework", | |
| }, | |
| { | |
| protocol: "fuchsia.sys2.RealmQuery", | |
| from: "framework", | |
| }, | |
| { | |
| protocol: "fuchsia.sys2.RouteValidator", | |
| from: "framework", | |
| }, | |
| { | |
| protocol: "fidl.examples.routing.echo.Echo", | |
| from: "#echo_server", | |
| }, | |
| { | |
| protocol: "void-protocol", | |
| from: "#foo", | |
| availability: "optional", | |
| }, | |
| // These capabilities aren't actually being used, but commands should still be able to | |
| // find them. | |
| { protocol: "fuchsia.foo.Bar" }, | |
| ], | |
| offer: [ | |
| { | |
| config: [ | |
| "fuchsia.my.String", | |
| "fuchsia.my.Uint8", | |
| ], | |
| from: "void", | |
| to: "#foo", | |
| availability: "optional", | |
| }, | |
| ], | |
| expose: [ | |
| // These capabilities aren't actually being served, but commands should still be able to | |
| // find them. | |
| { | |
| directory: "data", | |
| from: "self", | |
| }, | |
| { | |
| protocol: "fuchsia.foo.Bar", | |
| from: "self", | |
| }, | |
| ], | |
| } |