blob: c86de6611f294c4c95148dfdeaf3d0f1bf29a220 [file] [log] [blame]
# 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.
group("cpp") {
testonly = true
public_deps = [
":test_harness_fixture",
]
}
group("unittests") {
testonly = true
deps = [
":test_harness_impl_unittest",
]
}
# This library has a run-time dependency on the `modular_test_harness` package.
source_set("test_harness_fixture") {
testonly = true
sources = [
"test_harness_fixture.h",
"test_harness_fixture.cc"
]
deps = [
"//sdk/fidl/fuchsia.modular.testing",
"//sdk/lib/sys/cpp",
"//sdk/lib/sys/cpp/testing:integration",
]
}
source_set("test_harness_impl") {
testonly = true
sources = [
"test_harness_impl.cc",
"test_harness_impl.h",
]
public_deps = [
"//garnet/public/lib/fsl",
"//garnet/public/lib/fxl",
"//peridot/public/lib/app_driver/cpp:agent_driver",
"//sdk/fidl/fuchsia.auth.account",
"//sdk/fidl/fuchsia.devicesettings",
"//sdk/fidl/fuchsia.modular",
"//sdk/fidl/fuchsia.modular.testing",
"//sdk/fidl/fuchsia.sys",
"//sdk/lib/sys/cpp/testing:enclosing_environment",
"//zircon/public/lib/async-loop-cpp",
]
}
source_set("test_harness_impl_unittest") {
testonly = true
sources = [
"test_harness_impl_unittest.cc",
]
deps = [
":test_harness_impl",
"//sdk/fidl/fuchsia.modular",
"//sdk/fidl/fuchsia.modular.testing",
"//sdk/lib/sys/cpp/testing:integration",
"//sdk/lib/sys/cpp/testing:unit",
"//third_party/googletest:gtest_main",
"//zircon/public/lib/fidl",
]
}