blob: 6fb870b0b0818028f1f20fad174bf36b1f814820 [file] [log] [blame]
# 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 = [
"//src/lib/diagnostics/accessor2logger",
"//src/lib/fsl",
"//src/lib/fxl",
"//src/lib/fxl/test:gtest_main",
"//src/lib/testing/loop_fixture",
"//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" ]
}