blob: b26873fa73ed4e46a7a17aa887f8d96c3e35a872 [file] [log] [blame]
// 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.
//
// If you modify this file, update docs/development/testing/cts/test_realm.md.
//
{
collections: [
{
name: "cts-tests",
environment: "#legacy-test-env",
durability: "transient",
},
],
offer: [
{
// These hermetic protocols are offered to be used by tests.
protocol: [
"fuchsia.logger.LogSink",
"fuchsia.sys2.EventSource",
],
from: "parent",
to: [ "#cts-tests" ],
},
// These system capabilities are offered for use by the cts tests.
{
protocol: [
// Used for hwinfo FCT tests.
"fuchsia.hwinfo.Board",
"fuchsia.hwinfo.Device",
"fuchsia.hwinfo.Product",
// Used for intl settings FCT tests.
"fuchsia.intl.PropertyProvider",
// Used by DriverTestRealm and fdio tests.
"fuchsia.process.Launcher",
// Used by the fdio tests
"fuchsia.process.Resolver",
// Used for intl settings FCT tests.
"fuchsia.settings.Intl",
// Used for privacy settings FCT tests.
"fuchsia.settings.Privacy",
],
from: "parent",
to: "#cts-tests",
},
{
storage: "data",
from: "self",
to: [ "#cts-tests" ],
},
{
storage: "tmp",
from: "self",
to: [ "#cts-tests" ],
},
{
storage: "cache",
from: "self",
to: [ "#cts-tests" ],
},
{
storage: "custom_artifacts",
from: "self",
to: "#cts-tests",
},
],
}