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

Unified Diff: components/webusb/BUILD.gn

Issue 1326003006: Add webusb notification UI unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hardcoded expected string for testing Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/webusb/webusb_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webusb/BUILD.gn
diff --git a/components/webusb/BUILD.gn b/components/webusb/BUILD.gn
index 0b57ded0c232a9448e037721ab30be7fe7066a55..c9e9ca1ff27fe2607960e21129527c58c40ed0b1 100644
--- a/components/webusb/BUILD.gn
+++ b/components/webusb/BUILD.gn
@@ -15,3 +15,18 @@ static_library("webusb") {
"//device/usb",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "webusb_detector_unittest.cc",
+ ]
+
+ deps = [
+ ":webusb",
+ "//device/usb",
+ "//device/usb:mocks",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « components/components_tests.gyp ('k') | components/webusb/webusb_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698