Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: chrome/browser/resources/chromeos/switch_access/BUILD.gn

Issue 2866123002: Added unit tests for tree_walker and automation_predicate. (Closed)
Patch Set: Combined getSampleTree functions into one Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/switch_access/automation_predicate.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//chrome/test/base/js2gtest.gni") 7 import("//chrome/test/base/js2gtest.gni")
8 import("//chrome/browser/resources/chromeos/chromevox/run_jsbundler.gni") 8 import("//chrome/browser/resources/chromeos/chromevox/run_jsbundler.gni")
9 9
10 assert(is_chromeos) 10 assert(is_chromeos)
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 js2gtest("switch_access_webuijs_tests") { 53 js2gtest("switch_access_webuijs_tests") {
54 test_type = "webui" 54 test_type = "webui"
55 sources = [ 55 sources = [
56 "auto_scan_manager_unittest.gtestjs", 56 "auto_scan_manager_unittest.gtestjs",
57 "automation_predicate_unittest.gtestjs", 57 "automation_predicate_unittest.gtestjs",
58 "tree_walker_unittest.gtestjs", 58 "tree_walker_unittest.gtestjs",
59 ] 59 ]
60 extra_js_files = [ 60 extra_js_files = [
61 "auto_scan_manager.js", 61 "auto_scan_manager.js",
62 "automation_predicate.js", 62 "automation_predicate.js",
63 "test_support.js",
63 "tree_walker.js", 64 "tree_walker.js",
64 ] 65 ]
65 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 66 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
66 } 67 }
67 68
68 # TODO: refactor this into another file like generate_manifest.gni 69 # TODO: refactor this into another file like generate_manifest.gni
69 # to share with other extensions. 70 # to share with other extensions.
70 template("manifest") { 71 template("manifest") {
71 version_file = "//chrome/VERSION" 72 version_file = "//chrome/VERSION"
72 version_script = "//build/util/version.py" 73 version_script = "//build/util/version.py"
(...skipping 25 matching lines...) Expand all
98 } 99 }
99 100
100 manifest("switch_access_manifest") { 101 manifest("switch_access_manifest") {
101 output_file = "$switch_access_dir/manifest.json" 102 output_file = "$switch_access_dir/manifest.json"
102 } 103 }
103 104
104 manifest("switch_access_guest_manifest") { 105 manifest("switch_access_guest_manifest") {
105 output_file = "$switch_access_dir/manifest_guest.json" 106 output_file = "$switch_access_dir/manifest_guest.json"
106 is_guest_manifest = true 107 is_guest_manifest = true
107 } 108 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/switch_access/automation_predicate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698