| 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 11 matching lines...) Expand all Loading... |
| 22 # "shell-args": ["--some-flag-for-the-shell", "--another-flag"], | 22 # "shell-args": ["--some-flag-for-the-shell", "--another-flag"], |
| 23 # } | 23 # } |
| 24 # | 24 # |
| 25 # TODO(vtl|msw): Add a way of specifying data dependencies. | 25 # TODO(vtl|msw): Add a way of specifying data dependencies. |
| 26 | 26 |
| 27 tests = [ | 27 tests = [ |
| 28 { | 28 { |
| 29 "test": "mojo:clipboard_apptests", | 29 "test": "mojo:clipboard_apptests", |
| 30 }, | 30 }, |
| 31 { | 31 { |
| 32 "test": "mojo:html_viewer_apptests", | |
| 33 "shell-args": ["--is-headless"], | |
| 34 }, | |
| 35 { | |
| 36 "test": "mojo:network_service_apptests", | 32 "test": "mojo:network_service_apptests", |
| 37 }, | 33 }, |
| 38 # TODO(msw|jam): Fix and enable the shell_apptests: http://crbug.com/479316 | 34 # TODO(msw|jam): Fix and enable the shell_apptests: http://crbug.com/479316 |
| 39 #{ | 35 #{ |
| 40 # "test": "mojo:shell_apptests", | 36 # "test": "mojo:shell_apptests", |
| 41 #}, | 37 #}, |
| 42 { | |
| 43 "test": "mojo:view_manager_apptests", | |
| 44 "type": "gtest_isolated", | |
| 45 "shell-args": [ | |
| 46 "--use-headless-config", | |
| 47 "--url-mappings=mojo:window_manager=mojo:test_window_manager" | |
| 48 ] | |
| 49 }, | |
| 50 { | |
| 51 "test": "mojo:resource_provider_apptests", | |
| 52 }, | |
| 53 ] | 38 ] |
| 39 |
| 40 # TODO(msw): Get these tests passing on Android too. http://crbug.com/486220 |
| 41 if config.target_os != config.OS_ANDROID: |
| 42 tests += [ |
| 43 { |
| 44 "test": "mojo:html_viewer_apptests", |
| 45 "shell-args": ["--is-headless"], |
| 46 }, |
| 47 { |
| 48 "test": "mojo:view_manager_apptests", |
| 49 "type": "gtest_isolated", |
| 50 "shell-args": [ |
| 51 "--use-headless-config", |
| 52 "--url-mappings=mojo:window_manager=mojo:test_window_manager" |
| 53 ] |
| 54 }, |
| 55 { |
| 56 "test": "mojo:resource_provider_apptests", |
| 57 }, |
| 58 ] |
| OLD | NEW |