| // 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. |
| |
| // Test that we can include components from other packages |
| { |
| include: [ |
| "//src/sys/test_runners/rust/default.shard.cml", |
| "inspect/offer.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| program: { |
| binary: "bin/echo_test", |
| }, |
| children: [ |
| { |
| name: "echo_server", |
| url: "fuchsia-pkg://fuchsia.com/echo_server_for_test#meta/echo_server.cm", |
| }, |
| ], |
| use: [ |
| { |
| protocol: [ "fidl.examples.routing.echo.Echo" ], |
| from: "#echo_server", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: [ "fuchsia.logger.LogSink" ], |
| from: "parent", |
| to: "#echo_server", |
| }, |
| ], |
| facets: { |
| "fuchsia.test": { |
| "deprecated-allowed-packages": [ "echo_server_for_test" ], |
| }, |
| }, |
| } |