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

Unified Diff: components/mus/public/cpp/tests/BUILD.gn

Issue 1983243002: Creates mus test helper class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: override Created 4 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 side-by-side diff with in-line comments
Download patch
Index: components/mus/public/cpp/tests/BUILD.gn
diff --git a/components/mus/public/cpp/tests/BUILD.gn b/components/mus/public/cpp/tests/BUILD.gn
index a3471888f38c96801ee877ef2f2e27853311f8d4..66d9b1261190e1dae1d0f0a3fa7037376cfff1c2 100644
--- a/components/mus/public/cpp/tests/BUILD.gn
+++ b/components/mus/public/cpp/tests/BUILD.gn
@@ -6,13 +6,23 @@ import("//build/config/ui.gni")
import("//testing/test.gni")
source_set("unittest_support") {
+ testonly = true
+
sources = [
"test_window.h",
+ "test_window_tree.cc",
+ "test_window_tree.h",
+ "test_window_tree_connection_setup.cc",
+ "test_window_tree_connection_setup.h",
+ "window_tree_client_impl_private.cc",
+ "window_tree_client_impl_private.h",
]
deps = [
"//base",
"//components/mus/public/cpp",
+ "//mojo/converters/geometry",
+ "//testing/gtest",
]
}
@@ -42,8 +52,6 @@ test("mus_public_unittests") {
sources = [
"property_type_converters_unittest.cc",
"run_all_unittests.cc",
- "test_window_tree.cc",
- "test_window_tree.h",
"window_server_test_suite.cc",
"window_server_test_suite.h",
"window_tree_client_impl_unittest.cc",

Powered by Google App Engine
This is Rietveld 408576698