| # Copyright 2018 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") |
| import("//build/testing/environments.gni") |
| |
| executable("intl_wisdom_test_bin") { |
| testonly = true |
| output_name = "intl_wisdom_test" |
| |
| sources = [ "intl_wisdom_test.cc" ] |
| |
| deps = [ |
| "../cpp:intl_wisdom", |
| "//sdk/lib/sys/cpp/testing:integration", |
| "//src/lib/fsl", |
| "//src/lib/fxl", |
| "//src/lib/fxl/test:gtest_main", |
| "//third_party/googletest:gmock", |
| ] |
| public_configs = [ "//build/config:Wno-reorder-init-list" ] |
| } |
| |
| test_package("intl_wisdom_test") { |
| deps = [ ":intl_wisdom_test_bin" ] |
| |
| tests = [ |
| { |
| name = "intl_wisdom_test" |
| environments = basic_envs |
| }, |
| ] |
| |
| resources = [ |
| { |
| path = "golden-output.txt" |
| dest = "golden-output.txt" |
| }, |
| ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":intl_wisdom_test" ] |
| } |