| // 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. |
| |
| // [START example] |
| { |
| include: [ |
| "//sdk/ctf/meta/test.shard.cml", |
| "sys/testing/elf_test_runner.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| program: { |
| binary: "bin/fuchsia.examples.echo_test_main", |
| }, |
| children: [ |
| { |
| name: "test_realm", |
| url: "fuchsia.example_test_realm#meta/default.cm", |
| }, |
| ], |
| use: [ |
| { |
| protocol: "fuchsia.examples.Echo", |
| from: "#test_realm", |
| }, |
| ], |
| } |
| |
| // [END example] |