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

Unified Diff: components/image_fetcher/BUILD.gn

Issue 2074093002: Add a unittest for image_data_fetcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments treib@ Created 4 years, 6 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
Index: components/image_fetcher/BUILD.gn
diff --git a/components/image_fetcher/BUILD.gn b/components/image_fetcher/BUILD.gn
index c7bd0f0da6ba48603395c2014f974dc2d0c35ea9..ceddb8cfa8cb372518fb50318ec8702fab08a062 100644
--- a/components/image_fetcher/BUILD.gn
+++ b/components/image_fetcher/BUILD.gn
@@ -17,3 +17,16 @@ source_set("image_fetcher") {
"//url",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "image_data_fetcher_unittest.cc",
+ ]
+ deps = [
+ ":image_fetcher",
+ "//net",
+ "//net:test_support",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698