| OLD | NEW |
| 1 # This file contains a list of Mojo gtest unit tests. | 1 # This file contains a list of Mojo gtest unit tests. |
| 2 # | 2 # |
| 3 # This must be valid Python. It may use the |config| global that will be a | 3 # This must be valid Python. It may use the |config| global that will be a |
| 4 # mopy.config.Config object, and must set a |tests| global that will contain the | 4 # mopy.config.Config object, and must set a |tests| global that will contain the |
| 5 # list of tests to run. | 5 # list of tests to run. |
| 6 # | 6 # |
| 7 # The entries in |tests| are dictionaries of the following form: | 7 # The entries in |tests| are dictionaries of the following form: |
| 8 # { | 8 # { |
| 9 # # Required URL for apptest. | 9 # # Required URL for apptest. |
| 10 # "test": "mojo:test_app_url", | 10 # "test": "mojo:test_app_url", |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 "test-args": ["--example_apptest_arg"], | 40 "test-args": ["--example_apptest_arg"], |
| 41 "shell-args": ["--enable-multiprocess"], | 41 "shell-args": ["--enable-multiprocess"], |
| 42 }, | 42 }, |
| 43 { | 43 { |
| 44 "test": "mojo:files_apptests", | 44 "test": "mojo:files_apptests", |
| 45 }, | 45 }, |
| 46 { | 46 { |
| 47 "test": "mojo:http_server_apptests", | 47 "test": "mojo:http_server_apptests", |
| 48 }, | 48 }, |
| 49 { | 49 { |
| 50 "test": "mojo:network_service_apptests", | 50 "test": "mojo:mojio_apptests", |
| 51 }, | 51 }, |
| 52 { | 52 { |
| 53 "test": "mojo:mojo_view_manager_client_apptests", | 53 "test": "mojo:mojo_view_manager_client_apptests", |
| 54 "shell-args": ["--args-for=mojo:native_viewport_service --use-headless-confi
g --use-osmesa"], | 54 "shell-args": ["--args-for=mojo:native_viewport_service --use-headless-confi
g --use-osmesa"], |
| 55 }, | 55 }, |
| 56 { | 56 { |
| 57 "test": "mojo:view_manager_service_apptests", | 57 "test": "mojo:view_manager_service_apptests", |
| 58 "type": "gtest_isolated", | 58 "type": "gtest_isolated", |
| 59 "shell-args": ["--args-for=mojo:native_viewport_service --use-headless-confi
g --use-osmesa"], | 59 "shell-args": ["--args-for=mojo:native_viewport_service --use-headless-confi
g --use-osmesa"], |
| 60 }, | 60 }, |
| 61 { | 61 { |
| 62 "test": "mojo:network_service_apptests", |
| 63 }, |
| 64 { |
| 62 "test": "mojo:window_manager_apptests", | 65 "test": "mojo:window_manager_apptests", |
| 63 }, | 66 }, |
| 64 { | 67 { |
| 65 "test": "mojo:versioning_apptests", | 68 "test": "mojo:versioning_apptests", |
| 66 }, | 69 }, |
| 67 ] | 70 ] |
| 68 | 71 |
| 69 if config.target_os == config.OS_LINUX: | 72 if config.target_os == config.OS_LINUX: |
| 70 tests += [ | 73 tests += [ |
| 71 { | 74 { |
| 72 "test": "mojo:example_apptests", | 75 "test": "mojo:example_apptests", |
| 73 "name": "mojo:example_apptests (python_example_service)", | 76 "name": "mojo:example_apptests (python_example_service)", |
| 74 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. | 77 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. |
| 75 "test-args": ["--example_apptest_arg"], | 78 "test-args": ["--example_apptest_arg"], |
| 76 "shell-args": [ | 79 "shell-args": [ |
| 77 "--url-mappings=mojo:example_service=mojo:python_example_service" | 80 "--url-mappings=mojo:example_service=mojo:python_example_service" |
| 78 ], | 81 ], |
| 79 }, | 82 }, |
| 80 # TODO(vtl): See TODO in //services/files/c/BUILD.gn. | |
| 81 { | |
| 82 "test": "mojo:mojio_apptests", | |
| 83 }, | |
| 84 { | 83 { |
| 85 "test": "mojo:mojo_url_redirector_apptests", | 84 "test": "mojo:mojo_url_redirector_apptests", |
| 86 "test-args": ["--redirector_port=49152", | 85 "test-args": ["--redirector_port=49152", |
| 87 "--app_location_files_port=49153"], | 86 "--app_location_files_port=49153"], |
| 88 "shell-args": ["--args-for=mojo:mojo_url_redirector 0.0.0.0:49152 http://l
ocalhost:49153"], | 87 "shell-args": ["--args-for=mojo:mojo_url_redirector 0.0.0.0:49152 http://l
ocalhost:49153"], |
| 89 } | 88 } |
| 90 ] | 89 ] |
| 91 | 90 |
| 92 if config.target_os == config.OS_ANDROID: | 91 if config.target_os == config.OS_ANDROID: |
| 93 tests += [ | 92 tests += [ |
| (...skipping 21 matching lines...) Expand all Loading... |
| 115 "test": "mojo:dart_apptests", | 114 "test": "mojo:dart_apptests", |
| 116 "type": "dart", | 115 "type": "dart", |
| 117 }, | 116 }, |
| 118 { | 117 { |
| 119 # https://github.com/domokit/mojo/issues/61 | 118 # https://github.com/domokit/mojo/issues/61 |
| 120 # Sometime the shell get a trucated application when exposed through the | 119 # Sometime the shell get a trucated application when exposed through the |
| 121 # http server. | 120 # http server. |
| 122 "test": "mojo:shell_apptests", | 121 "test": "mojo:shell_apptests", |
| 123 }, | 122 }, |
| 124 ] | 123 ] |
| OLD | NEW |