blob: 29bfe7de08752cfeccdff5a44d9f6d85a1997e7b [file]
// 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" ],
children: [
{
name: "pkg_harness",
url: "fuchsia-pkg://fuchsia.com/pkgdir-integration-tests#meta/pkg-harness.cm",
},
{
name: "pkgdir_integration_test",
url: "fuchsia-pkg://fuchsia.com/pkgdir-integration-tests#meta/pkgdir-integration-test.cm",
},
],
offer: [
{
directory: "dev",
from: "#storage_driver_test_realm",
to: [ "#pkg_harness" ],
},
{
protocol: "fuchsia.logger.LogSink",
from: "parent",
to: [
"#pkg_harness",
"#pkgdir_integration_test",
],
},
{
protocol: "fuchsia.process.Launcher",
from: "parent",
to: [ "#pkg_harness" ],
},
{
storage: "tmp",
from: "parent",
to: [ "#pkg_harness" ],
},
{
protocol: [ "test.fidl.pkg.Harness" ],
from: "#pkg_harness",
to: [ "#pkgdir_integration_test" ],
},
{
protocol: "fuchsia.component.Binder",
from: "framework",
to: "#pkgdir_integration_test",
},
],
expose: [
{
protocol: "fuchsia.test.Suite",
from: "#pkgdir_integration_test",
},
],
}