blob: 12bfa2c910339f7ec8a37a26387d8d12f2d2c38f [file] [log] [blame] [edit]
# Copyright 2023 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")
executable("bin") {
output_dir = target_out_dir
output_name = "async_patterns_unittests"
sources = [
"dispatcher_bound_test.cc",
"receiver_test.cc",
"sendable_test.cc",
"task_queue_test.cc",
"task_scope_test.cc",
]
deps = [
"//sdk/lib/async_patterns/cpp",
"//sdk/lib/stdcompat",
"//src/lib/fxl/test:gtest_main",
"//src/lib/testing/predicates",
"//src/sys/test_runners/gtest:death_test",
"//third_party/googletest:gtest",
"//zircon/system/ulib/async:async-cpp",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-testing",
"//zircon/system/ulib/sync:sync-cpp",
]
testonly = true
}
fuchsia_unittest_package("async_patterns_tests") {
deps = [ ":bin" ]
}
group("tests") {
testonly = true
deps = [ ":async_patterns_tests" ]
}