| // 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. | |
| { | |
| include: [ | |
| "//src/sys/test_runners/rust/default.shard.cml", | |
| "inspect/client.shard.cml", | |
| "syslog/client.shard.cml", | |
| ], | |
| program: { | |
| binary: "bin/debug_dash_launcher_test", | |
| }, | |
| children: [ | |
| { | |
| name: "debug-dash-launcher", | |
| url: "#meta/debug-dash-launcher.cm", | |
| }, | |
| { | |
| name: "ptysvc", | |
| url: "#meta/ptysvc.cm", | |
| }, | |
| { | |
| name: "mock-resolver", | |
| url: "#meta/mock_resolver.cm", | |
| }, | |
| ], | |
| capabilities: [ | |
| { | |
| config: "fuchsia.debug.ToolsPkgUrl", | |
| type: "string", | |
| max_size: 100, | |
| value: "fuchsia-pkg://fuchsia.com/debug-dash-launcher-test", | |
| }, | |
| ], | |
| use: [ | |
| { | |
| protocol: "fuchsia.dash.Launcher", | |
| from: "#debug-dash-launcher", | |
| dependency: "weak", | |
| }, | |
| ], | |
| offer: [ | |
| { | |
| config: "fuchsia.debug.ToolsPkgUrl", | |
| from: "self", | |
| to: "#debug-dash-launcher", | |
| }, | |
| { | |
| protocol: "fuchsia.pkg.PackageResolver", | |
| from: "#mock-resolver", | |
| as: "fuchsia.pkg.PackageResolver-full", | |
| to: "#debug-dash-launcher", | |
| }, | |
| { | |
| storage: "tmp", | |
| from: "parent", | |
| to: "#mock-resolver", | |
| }, | |
| { | |
| protocol: [ "fuchsia.process.Launcher" ], | |
| from: "parent", | |
| to: "#debug-dash-launcher", | |
| }, | |
| { | |
| protocol: "fuchsia.boot.WriteOnlyLog", | |
| from: "parent", | |
| to: "#ptysvc", | |
| }, | |
| { | |
| protocol: "fuchsia.hardware.pty.Device", | |
| from: "#ptysvc", | |
| to: "#debug-dash-launcher", | |
| }, | |
| { | |
| protocol: "fuchsia.sys2.RealmQuery", | |
| from: "framework", | |
| to: "#debug-dash-launcher", | |
| }, | |
| ], | |
| } |