blob: dc50e0203c4e3492c0927e3105929cc5632609c1 [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.
import("//build/test/test_package.gni")
group("lib") {
deps = [
"gesture_manager",
"screen_reader",
"semantics",
"settings",
"tts",
"util",
]
}
group("tests") {
testonly = true
deps = [
":a11y_lib_tests",
]
}
test_package("a11y_lib_tests") {
deps = [
"gesture_manager/tests",
"screen_reader/tests",
"semantics/tests",
"settings/tests",
"tts/tests",
]
resources = [
# needed for semantics_manager_test
{
path = "semantics/tests/testdata/semantic_tree_single_node.json"
dest = "semantic_tree_single_node.json"
},
{
path = "semantics/tests/testdata/semantic_tree_even_nodes.json"
dest = "semantic_tree_even_nodes.json"
},
{
path = "semantics/tests/testdata/semantic_tree_odd_nodes.json"
dest = "semantic_tree_odd_nodes.json"
},
{
path = "semantics/tests/testdata/deleted_subtree_even_nodes.json"
dest = "deleted_subtree_even_nodes.json"
},
{
path = "semantics/tests/testdata/cyclic_semantic_tree.json"
dest = "cyclic_semantic_tree.json"
},
{
path = "semantics/tests/testdata/semantic_tree_not_parseable.json"
dest = "semantic_tree_not_parseable.json"
},
]
tests = [
{
name = "semantics_manager_tests"
environments = basic_envs
},
{
name = "settings_manager_tests"
environments = basic_envs
},
{
name = "tts_manager_tests"
environments = basic_envs
},
{
name = "gesture_manager_tests"
environments = basic_envs
},
]
}