blob: eb69ec8e99dccc979534fd7d4c4a7d2bb8fdab27 [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.
{
include: [
// Depends on config_data which is a system capability.
"//src/sys/test_manager/system-test.shard.cml",
"//src/sys/test_runners/rust/default.shard.cml",
// tmp_storage.shard is included for the isolated-temp feature.
"//src/sys/test_runners/tmp_storage.shard.cml",
// TODO(fxb/81849): Remove once the dependency path to inspect runtime has been removed.
"inspect/client.shard.cml",
"syslog/client.shard.cml",
],
program: {
binary: "bin/settings_lib_test",
},
use: [
{
protocol: [
"fuchsia.media.audio.VolumeControl",
"fuchsia.media.AudioCore",
"fuchsia.media.sessions2.Discovery",
"fuchsia.media.sounds.Player",
"fuchsia.sys.Environment",
"fuchsia.sys.Loader",
// This is added to support tracing. Therefore, we can run tests in order to trace
// the performance of the main setui_service.
// See more details here: https://fuchsia.dev/fuchsia-src/development/tracing.
"fuchsia.tracing.provider.Registry",
],
},
{
directory: "dev-input-report",
rights: [ "r*" ],
path: "/dev/class/input-report",
},
{
directory: "config-data",
rights: [ "r*" ],
path: "/config/data",
// Test manager makes all config data available, but we need to choose a meaningful one
// for our tests by specifying subdirectory as our package.
subdir: "setui_service_tests",
},
],
}