blob: c9fb66daa2dd39ea869a6c03b873043ea2a56264 [file] [log] [blame]
# 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 = [ ":focus_unittests" ]
}
executable("focus_test_bin") {
testonly = true
sources = [
"focus_manager_unittest.cc",
"view_focuser_registry_unittest.cc",
"view_ref_focused_unittest.cc",
]
deps = [
"//sdk/lib/inspect/testing/cpp",
"//sdk/lib/ui/scenic/cpp",
"//src/lib/fxl/test:gtest_main",
"//src/lib/testing/loop_fixture",
"//src/ui/scenic/lib/focus",
"//src/ui/scenic/lib/utils",
"//src/ui/scenic/lib/view_tree:view_tree_snapshot",
"//third_party/googletest:gmock",
"//third_party/googletest:gtest",
]
}
fuchsia_unittest_package("focus_unittests") {
deps = [ ":focus_test_bin" ]
}