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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/chromevox_tests.gypi

Issue 541403002: Rename ChromeVox tests and utilities for consistency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 6 years, 3 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/chromevox/common/aria_util_test.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 { 5 {
6 'includes': [ 6 'includes': [
7 '../../../../js_unittest_vars.gypi', 7 '../../../../js_unittest_vars.gypi',
8 ], 8 ],
9 'variables': { 9 'variables': {
10 'chromevox_test_deps_js_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/re sources/chromeos/chromevox/test_deps.js', 10 'chromevox_test_deps_js_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/re sources/chromeos/chromevox/test_deps.js',
(...skipping 21 matching lines...) Expand all
32 ], 32 ],
33 'defines': [ 33 'defines': [
34 'HAS_OUT_OF_PROC_TEST_RUNNER', 34 'HAS_OUT_OF_PROC_TEST_RUNNER',
35 ], 35 ],
36 'include_dirs': [ 36 'include_dirs': [
37 '<(DEPTH)', 37 '<(DEPTH)',
38 '<(SHARED_INTERMEDIATE_DIR)', 38 '<(SHARED_INTERMEDIATE_DIR)',
39 ], 39 ],
40 'rules': [ 40 'rules': [
41 { 41 {
42 # A JavaScript test that runs in an environment similar to a webui 42 # A JavaScript test that runs in an environment similar to a webui
David Tseng 2014/09/05 16:43:56 Mention something about these being unit tests?
43 # browser test. 43 # browser test.
44 'rule_name': 'js2webui', 44 'rule_name': 'js2webui',
45 'extension': 'js', 45 'extension': 'unitjs',
46 'msvs_external_rule': 1, 46 'msvs_external_rule': 1,
47 'inputs': [ 47 'inputs': [
48 '<(gypv8sh)', 48 '<(gypv8sh)',
49 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)', 49 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)',
50 '<(mock_js)', 50 '<(mock_js)',
51 '<(test_api_js)', 51 '<(test_api_js)',
52 '<(js2gtest)', 52 '<(js2gtest)',
53 '<(chromevox_test_deps_js_file)', 53 '<(chromevox_test_deps_js_file)',
54 'testing/chromevox_unittest_base.js', 54 'testing/chromevox_unittest_base.js',
55 ], 55 ],
56 'outputs': [ 56 'outputs': [
57 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc ', 57 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)-gen.cc ',
58 '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/chromevo x/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', 58 '<(PRODUCT_DIR)/test_data/chrome/browser/resources/chromeos/chromevo x/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
59 ], 59 ],
60 'process_outputs_as_sources': 1, 60 'process_outputs_as_sources': 1,
61 'action': [ 61 'action': [
62 'python', 62 'python',
63 '<(gypv8sh)', 63 '<(gypv8sh)',
64 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)', 64 '<(PRODUCT_DIR)/d8<(EXECUTABLE_SUFFIX)',
65 '--deps_js', '<(chromevox_test_deps_js_file)', 65 '--deps_js', '<(chromevox_test_deps_js_file)',
66 '<(mock_js)', 66 '<(mock_js)',
67 '<(test_api_js)', 67 '<(test_api_js)',
68 '<(js2gtest)', 68 '<(js2gtest)',
69 'webui', 69 'webui',
70 '<(RULE_INPUT_PATH)', 70 '<(RULE_INPUT_PATH)',
71 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).js', 71 'chrome/browser/resources/chromeos/chromevox/<(RULE_INPUT_DIRNAME)/< (RULE_INPUT_ROOT).unitjs',
72 '<@(_outputs)', 72 '<@(_outputs)',
73 ], 73 ],
74 }, 74 },
75 { 75 {
76 # A JavaScript test that runs in the ChromeVox background page's 76 # A JavaScript test that runs in the ChromeVox background page's
77 # isolate. 77 # isolate.
78 'rule_name': 'js2extension', 78 'rule_name': 'js2extension',
79 'extension': 'extjs', 79 'extension': 'extjs',
80 'msvs_external_rule': 1, 80 'msvs_external_rule': 1,
81 'inputs': [ 81 'inputs': [
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 '<(DEPTH)/chrome/test/base/extension_js_browser_test.h', 115 '<(DEPTH)/chrome/test/base/extension_js_browser_test.h',
116 '<(DEPTH)/chrome/test/base/javascript_browser_test.cc', 116 '<(DEPTH)/chrome/test/base/javascript_browser_test.cc',
117 '<(DEPTH)/chrome/test/base/javascript_browser_test.h', 117 '<(DEPTH)/chrome/test/base/javascript_browser_test.h',
118 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.cc', 118 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.cc',
119 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.h', 119 '<(DEPTH)/chrome/test/base/test_chrome_web_ui_controller_factory.h',
120 '<(DEPTH)/chrome/test/base/web_ui_browser_test.cc', 120 '<(DEPTH)/chrome/test/base/web_ui_browser_test.cc',
121 '<(DEPTH)/chrome/test/base/web_ui_browser_test.h', 121 '<(DEPTH)/chrome/test/base/web_ui_browser_test.h',
122 '<(DEPTH)/chrome/browser/extensions/browsertest_util.cc', 122 '<(DEPTH)/chrome/browser/extensions/browsertest_util.cc',
123 '<(DEPTH)/chrome/browser/extensions/browsertest_util.h', 123 '<(DEPTH)/chrome/browser/extensions/browsertest_util.h',
124 124
125 'common/aria_util_test.js', 125 'common/aria_util_test.unitjs',
126 'common/braille_text_handler_test.js', 126 'common/braille_text_handler_test.unitjs',
127 'common/braille_util_test.js', 127 'common/braille_util_test.unitjs',
128 'common/command_store_test.js', 128 'common/command_store_test.unitjs',
129 'common/cursor_selection_test.js', 129 'common/cursor_selection_test.unitjs',
130 'common/dom_util_test.js', 130 'common/dom_util_test.unitjs',
131 'common/editable_text_area_shadow_test.js', 131 'common/editable_text_area_shadow_test.unitjs',
132 'common/editable_text_test.js', 132 'common/editable_text_test.unitjs',
133 'common/find_util_test.js', 133 'common/find_util_test.unitjs',
134 'common/key_sequence_test.js', 134 'common/key_sequence_test.unitjs',
135 'common/math_semantic_tree_test.js', 135 'common/math_semantic_tree_test.unitjs',
136 'common/page_selection_test.js', 136 'common/page_selection_test.unitjs',
137 'common/selection_util_test.js', 137 'common/selection_util_test.unitjs',
138 'common/spannable_test.js', 138 'common/spannable_test.unitjs',
139 ], 139 ],
140 'conditions': [ 140 'conditions': [
141 ['use_chromevox_next==1', { 141 ['use_chromevox_next==1', {
142 'sources': ['../chromevox2/cvox2/background/background.extjs'], 142 'sources': ['../chromevox2/cvox2/background/background.extjs'],
143 }], 143 }],
144 ], 144 ],
145 }, # target chromevox_tests 145 }, # target chromevox_tests
146 { 146 {
147 'target_name': 'chromevox_test_messages_js', 147 'target_name': 'chromevox_test_messages_js',
148 'type': 'none', 148 'type': 'none',
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 '<@(js_files)', 202 '<@(js_files)',
203 ], 203 ],
204 }, 204 },
205 ], 205 ],
206 'dependencies': [ 206 'dependencies': [
207 'chromevox_test_messages_js', 207 'chromevox_test_messages_js',
208 ], 208 ],
209 }, # target chromevox_test_deps_js 209 }, # target chromevox_test_deps_js
210 ], 210 ],
211 } 211 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/common/aria_util_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698