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

Unified Diff: mash/wm/BUILD.gn

Issue 1822133002: Converts mash_wm_apptests to unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 4 years, 9 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 | « mash/unittests_manifest.json ('k') | mash/wm/accelerator_registrar_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/BUILD.gn
diff --git a/mash/wm/BUILD.gn b/mash/wm/BUILD.gn
index 6548409c0b54a4433f16e24fa04be109e86e6672..283de718237dee5613fd295c984667300e12a6c3 100644
--- a/mash/wm/BUILD.gn
+++ b/mash/wm/BUILD.gn
@@ -8,13 +8,6 @@ import("//mojo/public/mojo_application_manifest.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//tools/grit/repack.gni")
-group("tests") {
- testonly = true
- deps = [
- ":apptests",
- ]
-}
-
source_set("lib") {
sources = [
"accelerator_registrar_impl.cc",
@@ -140,50 +133,14 @@ repack("resources") {
]
}
-mojo_native_application("apptests") {
- output_name = "mash_wm_apptests"
- testonly = true
-
- sources = [
- "accelerator_registrar_apptest.cc",
- "window_manager_apptest.cc",
- ]
-
- deps = [
- "//base",
- "//base/test:test_config",
- "//components/mus/public/cpp",
- "//components/mus/public/interfaces",
- "//mojo/common:common_base",
- "//mojo/converters/geometry",
- "//mojo/converters/input_events",
- "//mojo/shell/public/cpp:sources",
- "//mojo/shell/public/cpp:test_support",
- "//ui/mojo/geometry:interfaces",
- "//ui/mojo/geometry:util",
- ]
-
- data_deps = [
- ":apptest_manifest",
- ":wm",
- ]
-
- if (use_x11) {
- deps += [ "//tools/xdisplaycheck" ]
- }
-}
-
-mojo_application_manifest("apptest_manifest") {
- application_name = "mash_wm_apptests"
- source = "apptest_manifest.json"
-}
-
source_set("unittests") {
testonly = true
sources = [
+ "accelerator_registrar_unittest.cc",
"frame/move_loop_unittest.cc",
"layout_manager_unittest.cc",
+ "window_manager_unittest.cc",
]
deps = [
@@ -192,12 +149,14 @@ source_set("unittests") {
"//base/test:test_config",
"//components/mus/public/cpp",
"//components/mus/public/cpp/tests:unittest_support",
+ "//components/mus/public/interfaces",
"//mojo/converters/geometry",
"//mojo/converters/input_events",
"//mojo/edk/system",
"//mojo/gles2",
"//mojo/platform_handle",
"//mojo/public/cpp/system",
+ "//mojo/shell/public/cpp:shell_test_support",
"//testing/gtest",
"//ui/base",
"//ui/events",
« no previous file with comments | « mash/unittests_manifest.json ('k') | mash/wm/accelerator_registrar_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698