blob: 6eb99c85d966db40bd77a2deb6fce44f00970f6e [file] [log] [blame]
// 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.
{
include: [
"//src/storage/testing/driver_test_realm/meta/client.shard.cml",
"//src/sys/test_runners/gtest/default.shard.cml",
"inspect/client.shard.cml",
"syslog/client.shard.cml",
],
program: {
binary: "test/fshost_integration_test",
},
children: [
{
name: "decompressor",
url: "fuchsia-pkg://fuchsia.com/fshost-tests#meta/decompressor-sandbox.cm",
},
{
name: "fake-crash-reporter",
url: "fuchsia-pkg://fuchsia.com/fshost-tests#meta/fake_crash_reporter.cm",
},
],
collections: [
{
name: "fshost-collection",
durability: "transient",
},
],
use: [
{
protocol: [ "fuchsia.process.Launcher" ],
},
{
protocol: "fuchsia.component.Realm",
from: "framework",
},
{
protocol: "fuchsia.feedback.testing.FakeCrashReporterQuerier",
from: "#fake-crash-reporter",
},
{
directory: "hub",
from: "framework",
rights: [ "rw*" ],
path: "/hub",
},
],
offer: [
{
protocol: [
"fuchsia.logger.LogSink",
"fuchsia.process.Launcher",
"fuchsia.sys.Launcher",
],
from: "parent",
to: [
"#decompressor",
"#fake-crash-reporter",
"#fshost-collection",
],
},
{
directory: "dev",
from: "#storage_driver_test_realm",
to: "#fshost-collection",
},
{
protocol: "fuchsia.blobfs.internal.DecompressorCreator",
from: "#decompressor",
to: "#fshost-collection",
},
{
protocol: "fuchsia.feedback.CrashReporter",
from: "#fake-crash-reporter",
to: "#fshost-collection",
},
],
}