| // Copyright 2021 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. |
| { |
| children: [ |
| { |
| name: "driver", |
| url: "fuchsia-pkg://fuchsia.com/fake-clock-rust#meta/rust_integ_test_driver.cm", |
| }, |
| { |
| name: "example", |
| url: "fuchsia-pkg://fuchsia.com/fake-clock-rust#meta/rust_example.cm", |
| }, |
| { |
| name: "fake_clock", |
| url: "fuchsia-pkg://fuchsia.com/fake-clock-rust#meta/fake_clock.cm", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: "fuchsia.fakeclock.test.Example", |
| from: "#example", |
| to: "#driver", |
| }, |
| { |
| protocol: "fuchsia.testing.FakeClockControl", |
| from: "#fake_clock", |
| to: "#driver", |
| }, |
| { |
| protocol: "fuchsia.testing.FakeClock", |
| from: "#fake_clock", |
| to: "#example", |
| }, |
| { |
| protocol: [ "fuchsia.logger.LogSink" ], |
| from: "parent", |
| to: [ |
| "#driver", |
| "#example", |
| "#fake_clock", |
| ], |
| }, |
| ], |
| expose: [ |
| { |
| protocol: "fuchsia.test.Suite", |
| from: "#driver", |
| }, |
| ], |
| } |