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

Unified Diff: mojo/shell/tests/connect/BUILD.gn

Issue 1758633002: Convert Connect apptest to a unittest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@25tests
Patch Set: . Created 4 years, 10 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: mojo/shell/tests/connect/BUILD.gn
diff --git a/mojo/shell/tests/connect/BUILD.gn b/mojo/shell/tests/connect/BUILD.gn
index 8dab8a1ee6511cc1bf17803c09b44a6788ae21aa..2286e5c76111c72dc76f531ddd07ac1d1539bf5f 100644
--- a/mojo/shell/tests/connect/BUILD.gn
+++ b/mojo/shell/tests/connect/BUILD.gn
@@ -7,22 +7,24 @@ import("//mojo/public/mojo_application_manifest.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//testing/test.gni")
-mojo_native_application("connect") {
- output_name = "connect_apptests"
+test("connect") {
sky 2016/03/02 16:24:04 Did you consider including these in mojo_shell_uni
+ output_name = "mojo_shell_connect_unittests"
testonly = true
sources = [
- "connect_apptest.cc",
+ "connect_unittest.cc",
]
deps = [
":interfaces",
":manifest",
"//base",
"//base/test:test_config",
+ "//base/test:test_support",
"//mojo/common:common_base",
+ "//mojo/edk/system",
+ "//mojo/shell/background:main",
"//mojo/shell/public/cpp:sources",
"//mojo/shell/public/cpp:test_support",
"//mojo/shell/public/interfaces",
- "//mojo/shell/tests/application_manager",
]
data_deps = [
@@ -38,8 +40,8 @@ mojom("interfaces") {
}
mojo_application_manifest("manifest") {
- application_name = "connect_apptests"
- source = "connect_apptest_manifest.json"
+ application_name = "connect_unittests"
+ source = "connect_unittests_manifest.json"
}
mojo_application_manifest("connect_test_a_manifest") {

Powered by Google App Engine
This is Rietveld 408576698