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

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
« no previous file with comments | « mojo/shell/tests/BUILD.gn ('k') | mojo/shell/tests/connect/connect_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..d94fd9a102a8351f117f6047bf3e565355d00e0c 100644
--- a/mojo/shell/tests/connect/BUILD.gn
+++ b/mojo/shell/tests/connect/BUILD.gn
@@ -7,22 +7,19 @@ 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"
+source_set("connect") {
testonly = true
sources = [
- "connect_apptest.cc",
+ "connect_unittest.cc",
]
deps = [
":interfaces",
":manifest",
"//base",
- "//base/test:test_config",
- "//mojo/common:common_base",
+ "//base/test:test_support",
+ "//mojo/shell/public/cpp:shell_test_support",
"//mojo/shell/public/cpp:sources",
- "//mojo/shell/public/cpp:test_support",
"//mojo/shell/public/interfaces",
- "//mojo/shell/tests/application_manager",
]
data_deps = [
@@ -38,8 +35,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") {
« no previous file with comments | « mojo/shell/tests/BUILD.gn ('k') | mojo/shell/tests/connect/connect_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698