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

Side by Side Diff: mojo/tools/data/apptests

Issue 1037733002: Flesh out MojoUrlRedirector apptests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Update args Created 5 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 unified diff | Download patch
OLDNEW
1 # This file contains a list of Mojo gtest unit tests. 1 # This file contains a list of Mojo gtest unit tests.
2 # This must be valid python. It can use the |config| global that will be a 2 # This must be valid python. It can use the |config| global that will be a
3 # mopy.config.Config object and must set a |tests| global that will contain the 3 # mopy.config.Config object and must set a |tests| global that will contain the
4 # tests to run. 4 # tests to run.
5 # TODO(vtl|msw): Add a way of specifying data dependencies. 5 # TODO(vtl|msw): Add a way of specifying data dependencies.
6 6
7 tests = [ 7 tests = [
8 { 8 {
9 "test": "mojo:clipboard_apptests", 9 "test": "mojo:clipboard_apptests",
10 }, 10 },
(...skipping 29 matching lines...) Expand all
40 { 40 {
41 "test": "mojo:example_apptests", 41 "test": "mojo:example_apptests",
42 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. 42 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
43 "test-args": ["--example_apptest_arg"], 43 "test-args": ["--example_apptest_arg"],
44 "shell-args": [ 44 "shell-args": [
45 "--url-mappings=mojo:example_service=mojo:python_example_service" 45 "--url-mappings=mojo:example_service=mojo:python_example_service"
46 ], 46 ],
47 }, 47 },
48 { 48 {
49 "test": "mojo:mojo_url_redirector_apptests", 49 "test": "mojo:mojo_url_redirector_apptests",
50 "test-args": ["--address=0.0.0.0:49152"], 50 "test-args": ["--redirector_port=49152",
51 "shell-args": ["--args-for=mojo:mojo_url_redirector 0.0.0.0:49152"], 51 "--app_location_files_port=49153"],
52 "shell-args": ["--args-for=mojo:mojo_url_redirector 0.0.0.0:49152 http://l ocalhost:49153"],
52 } 53 }
53 ] 54 ]
54 55
55 if config.target_os == config.OS_ANDROID: 56 if config.target_os == config.OS_ANDROID:
56 tests += [ 57 tests += [
57 { 58 {
58 "test": "mojo:example_apptests", 59 "test": "mojo:example_apptests",
59 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. 60 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
60 "test-args": ["--example_apptest_arg"], 61 "test-args": ["--example_apptest_arg"],
61 "shell-args": [ 62 "shell-args": [
(...skipping 26 matching lines...) Expand all
88 "test": "mojo:dart_apptests", 89 "test": "mojo:dart_apptests",
89 "type": "dart", 90 "type": "dart",
90 }, 91 },
91 { 92 {
92 # https://github.com/domokit/mojo/issues/61 93 # https://github.com/domokit/mojo/issues/61
93 # Sometime the shell get a trucated application when exposed through the 94 # Sometime the shell get a trucated application when exposed through the
94 # http server. 95 # http server.
95 "test": "mojo:shell_apptests", 96 "test": "mojo:shell_apptests",
96 }, 97 },
97 ] 98 ]
OLDNEW
« no previous file with comments | « no previous file | services/python/mojo_url_redirector/BUILD.gn » ('j') | services/python/mojo_url_redirector/__mojo__.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698