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

Unified Diff: chrome/browser/resources/chromeos/switch_access/BUILD.gn

Issue 2793073002: Added unit tests for auto_scan_manager. Created switch access test target. (Closed)
Patch Set: Responded to comments Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/switch_access/auto_scan_manager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/switch_access/BUILD.gn
diff --git a/chrome/browser/resources/chromeos/switch_access/BUILD.gn b/chrome/browser/resources/chromeos/switch_access/BUILD.gn
index 7ac565b00f0d95018a15ea34566681463c5f1ad2..9c112885a5d372c16648db98d07d71ccb41d7e8b 100644
--- a/chrome/browser/resources/chromeos/switch_access/BUILD.gn
+++ b/chrome/browser/resources/chromeos/switch_access/BUILD.gn
@@ -41,6 +41,26 @@ run_jsbundler("switch_access_copied_files") {
]
}
+test("switch_access_tests") {
+ deps = [
+ ":switch_access_webuijs_tests",
+ "//chrome/test:browser_tests_runner",
+ ]
+}
+
+js2gtest("switch_access_webuijs_tests") {
+ test_type = "webui"
+ sources = [
+ "auto_scan_manager_unittest.gtestjs",
+ "tree_walker_unittest.gtestjs",
+ ]
+ extra_js_files = [
+ "auto_scan_manager.js",
+ "tree_walker.js",
+ ]
+ defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
+}
+
# TODO: refactor this into another file like generate_manifest.gni
# to share with other extensions.
template("manifest") {
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/switch_access/auto_scan_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698