| # Copyright 2020 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") |
| import("//build/test.gni") |
| |
| group("tests") { |
| testonly = true |
| public_deps = [ ":fake-display-stack-host-integration-tests-package" ] |
| } |
| |
| test("fake-display-stack-host-integration-tests") { |
| sources = [ "fake-display-stack-host-integration-test.cc" ] |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.display:fuchsia.hardware.display_cpp", |
| "//sdk/lib/component/incoming/cpp", |
| "//sdk/lib/device-watcher/cpp", |
| "//src/lib/fxl/test:gtest_main", |
| "//src/lib/testing/predicates", |
| "//third_party/googletest:gtest", |
| ] |
| } |
| |
| fuchsia_test_component("fake-display-stack-host-integration-tests-component") { |
| component_name = "fake-display-stack-host-integration-tests" |
| |
| manifest = "meta/fake-display-stack-host-integration-tests.cml" |
| deps = [ ":fake-display-stack-host-integration-tests" ] |
| |
| # Needed to access the system Sysmem service. |
| test_type = "vulkan" |
| } |
| |
| fuchsia_test_package("fake-display-stack-host-integration-tests-package") { |
| package_name = "fake-display-stack-host-integration-test" |
| |
| test_components = [ ":fake-display-stack-host-integration-tests-component" ] |
| deps = [ "//src/graphics/display/testing/fake-display-stack-host:child-component-with-default-config" ] |
| |
| # TODO(https://fxbug.dev/399886375): Remove the error expectations after the |
| # racy error logging on VSync is fixed. |
| test_specs = { |
| log_settings = { |
| max_severity = "ERROR" |
| } |
| } |
| } |