| # Copyright 2019 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/test/test_package.gni") |
| |
| test_package("feedback_agent_tests") { |
| tests = [ |
| { |
| name = "feedback_agent_unittest" |
| }, |
| { |
| name = "feedback_agent_integration_test" |
| }, |
| ] |
| |
| deps = [ |
| ":integration_test", |
| ":unittest", |
| ] |
| } |
| |
| executable("unittest") { |
| testonly = true |
| |
| output_name = "feedback_agent_unittest" |
| |
| sources = [ |
| "feedback_agent_unittest.cc", |
| ] |
| |
| deps = [ |
| "//garnet/bin/feedback_agent:src", |
| "//garnet/public/lib/fxl/test:gtest_main", |
| "//sdk/fidl/fuchsia.feedback", |
| "//third_party/googletest:gtest", |
| ] |
| } |
| |
| executable("integration_test") { |
| testonly = true |
| |
| output_name = "feedback_agent_integration_test" |
| |
| sources = [ |
| "feedback_agent_integration_test.cc", |
| ] |
| |
| deps = [ |
| "//garnet/public/lib/component/cpp/testing", |
| "//garnet/public/lib/fxl/test:gtest_main", |
| "//sdk/fidl/fuchsia.feedback", |
| "//third_party/googletest:gtest", |
| "//zircon/public/lib/zx", |
| ] |
| } |