| # 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. |
| |
| import("//build/components.gni") |
| |
| group("tests") { |
| testonly = true |
| |
| deps = [ |
| ":pointerinjector-config-test", |
| "//src/cobalt/bin/testing/mock_cobalt", |
| "//src/graphics/bin/vulkan_loader", |
| "//src/ui/bin/hardware_display_controller_provider:fake-hardware-display-controller-provider", |
| ] |
| } |
| |
| executable("pointerinjector_config_test") { |
| testonly = true |
| sources = [ "pointerinjector_config_test.cc" ] |
| deps = [ |
| "//garnet/public/lib/gtest", |
| "//sdk/fidl/fuchsia.accessibility", |
| "//sdk/fidl/fuchsia.ui.accessibility.view", |
| "//sdk/fidl/fuchsia.ui.pointerinjector.configuration", |
| "//sdk/fidl/fuchsia.ui.policy", |
| "//sdk/fidl/fuchsia.ui.views", |
| "//sdk/lib/sys/cpp/testing:integration", |
| "//sdk/lib/ui/scenic/cpp", |
| "//src/lib/fxl", |
| "//src/lib/fxl/test:gtest_main", |
| "//src/ui/a11y/lib/magnifier/tests/mocks:mock_magnifier", |
| "//third_party/googletest:gtest", |
| "//zircon/public/lib/zx", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| ] |
| } |
| |
| fuchsia_unittest_package("pointerinjector-config-test") { |
| manifest = "meta/pointerinjector_config_test.cmx" |
| deps = [ |
| ":pointerinjector_config_test", |
| "//src/ui/bin/root_presenter:component_v1_for_test", |
| "//src/ui/scenic:component", |
| ] |
| |
| test_specs = { |
| log_settings = { |
| max_severity = "ERROR" |
| } |
| environments = [ |
| { |
| dimensions = { |
| device_type = "AEMU" |
| } |
| }, |
| ] |
| } |
| } |