| # 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") |
| |
| test("stream_cpp_unittests") { |
| sources = [ "log_message_unittest.cc" ] |
| deps = [ |
| "//garnet/public/lib/gtest", |
| "//sdk/lib/stdcompat", |
| "//src/lib/diagnostics/accessor2logger", |
| "//src/lib/fsl", |
| "//src/lib/fxl", |
| "//src/lib/fxl/test:gtest_main", |
| "//third_party/googletest:gmock", |
| ] |
| } |
| |
| fuchsia_unittest_package("stream-cpp-tests") { |
| deps = [ ":stream_cpp_unittests" ] |
| test_specs = { |
| log_settings = { |
| max_severity = "ERROR" |
| } |
| } |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":stream-cpp-tests" ] |
| } |