blob: fcfe7bfcf33a6704775b16fbc2f6715321096374 [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/ui/meta/scene_manager_base_routes.shard.cml",
"//src/ui/testing/ui_test_realm/meta/scene_provider.shard.cml",
"//src/ui/testing/ui_test_realm/meta/text_manager.shard.cml",
"//src/ui/testing/ui_test_realm/meta/virtual_keyboard_manager.shard.cml",
],
children: [
{
name: "scene_manager",
url: "#meta/scene_manager.cm",
// Known missing capabilities:
//
// fuchsia.settings.Keyboard: should be non-essential so long as
// the tests don't require changing keyboard settings.
//
// dev-input-report: this should be turned off, but no such
// test component exists yet.
},
{
name: "mock_cobalt",
url: "#meta/mock_cobalt.cm",
},
{
name: "input-helper",
url: "#meta/input-helper.cm",
},
],
offer: [
{
protocol: [ "fuchsia.session.scene.Manager" ],
from: "#scene_manager",
to: [ "#scene-provider" ],
},
{
protocol: "fuchsia.logger.LogSink",
from: "parent",
to: [ "#input-helper" ],
},
{
protocol: [ "fuchsia.metrics.MetricEventLoggerFactory" ],
from: "#mock_cobalt",
to: [ "#scene_manager" ],
},
{
protocol: [ "fuchsia.input.injection.InputDeviceRegistry" ],
from: "#scene_manager",
to: [ "#input-helper" ],
},
{
protocol: [ "fuchsia.ui.display.singleton.Info" ],
from: "#scenic",
to: [ "#input-helper" ],
},
{
protocol: "fuchsia.inspect.InspectSink",
from: "parent",
to: [
"#input-helper",
"#scene_manager",
],
},
],
expose: [
{
protocol: [ "fuchsia.ui.test.input.Registry" ],
from: "#input-helper",
},
{
protocol: [ "fuchsia.ui.policy.DeviceListenerRegistry" ],
from: "#scene_manager",
},
],
}