| // 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. |
| { |
| include: [ "//src/lib/testing/expectation/meta/common.shard.cml" ], |
| use: [ |
| { |
| protocol: "fuchsia.test.Suite", |
| from: "#expectation-comparer", |
| }, |
| ], |
| |
| // netemul-runner tests using the expectations framework must also define a |
| // capability route offering the `fuchsia.test.Suite` protocol from the test |
| // component to the expectations comparer. |
| // |
| // For example, if the test component child of the netemul-runner test is |
| // named `test-driver`, the following route must be defined in the |
| // netemul-runner manifest which includes this shard: |
| // |
| // { |
| // include: [ "//src/lib/testing/expectation/meta/netemul-runner-client.shard.cml" ], |
| // ... |
| // offer: [ |
| // ... |
| // { |
| // protocol: "fuchsia.test.Suite", |
| // from: "#test-driver", |
| // to: #expectation-comparer", |
| // }, |
| // ], |
| // } |
| } |