| # 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/config.gni") |
| import("//build/test/test_package.gni") |
| import("//build/testing/environments.gni") |
| |
| group("tests") { |
| testonly = true |
| |
| public_deps = [ |
| ":adaptation_tests" |
| ] |
| } |
| |
| test_package("adaptation_tests") { |
| tests = [ |
| { |
| name = "platform_manager_unittests" |
| }, |
| ] |
| deps = [ |
| ":platform_manager_unittests", |
| ] |
| } |
| |
| executable("platform_manager_unittests") { |
| testonly = true |
| output_name = "platform_manager_unittests" |
| sources = [ |
| "platform_manager_unittests.cpp", |
| ] |
| deps = [ |
| "//sdk/lib/sys/cpp/testing:unit", |
| "//src/connectivity/weave/adaptation", |
| "//src/lib/fxl/test:gtest_main", |
| "//src/lib/testing/loop_fixture", |
| "//third_party/googletest:gtest", |
| "//third_party/googletest:gmock", |
| ] |
| } |