blob: 2211a780922be10945d43bcba4f863c3e641d14c [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: [
"//src/sys/test_manager/system-test.shard.cml", // required for accessing RootJob.
"//src/sys/test_runners/gtest/default.shard.cml",
"syslog/client.shard.cml",
],
program: {
binary: "test/debug_agent_unit_tests",
},
use: [
{
protocol: [
"fuchsia.kernel.RootJob",
"fuchsia.process.Launcher",
"fuchsia.sys2.EventSource",
],
},
// In tests, use the component API from the framework for ourself.
// The result is we can only observe ourself as the only component.
{
protocol: "fuchsia.sys2.RealmExplorer",
from: "framework",
path: "/svc/fuchsia.sys2.RealmExplorer.root",
},
{
protocol: "fuchsia.sys2.RealmQuery",
from: "framework",
path: "/svc/fuchsia.sys2.RealmQuery.root",
},
{
event: [
"debug_started",
"stopped",
],
from: "framework",
},
],
}