| // Copyright 2023 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/rust.shard.cml", |
| "inspect/offer.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| children: [ |
| { |
| name: "test_suite", |
| url: "fuchsia-examples-rust-tests#meta/test-suite.cm", |
| environment: "#subpackaged-runner-env", |
| }, |
| { |
| name: "realm_factory", |
| url: "echo-realm-factory#meta/echo-realm-factory.cm", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: "test.example.RealmFactory", |
| from: "#realm_factory", |
| to: "#test_suite", |
| }, |
| ], |
| expose: [ |
| { |
| protocol: "fuchsia.test.Suite", |
| from: "#test_suite", |
| }, |
| ], |
| } |
| |
| // [END example] |