| 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 # 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 26 matching lines...) Expand all Loading... |
| 37 { | 37 { |
| 38 "test": "mojo:example_apptests", | 38 "test": "mojo:example_apptests", |
| 39 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. | 39 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. |
| 40 "test-args": ["--example_apptest_arg"], | 40 "test-args": ["--example_apptest_arg"], |
| 41 "shell-args": [ | 41 "shell-args": [ |
| 42 "--url-mappings=mojo:example_service=mojo:python_example_service" | 42 "--url-mappings=mojo:example_service=mojo:python_example_service" |
| 43 ], | 43 ], |
| 44 }, | 44 }, |
| 45 ] | 45 ] |
| 46 | 46 |
| 47 if config.target_os == config.OS_ANDROID: | 47 # TODO(msw|etiennej|qsr): Fix and re-enable this test. http://crbug.com/461503 |
| 48 tests += [ | 48 # if config.target_os == config.OS_ANDROID: |
| 49 { | 49 # tests += [ |
| 50 "test": "mojo:example_apptests", | 50 # { |
| 51 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. | 51 # "test": "mojo:example_apptests", |
| 52 "test-args": ["--example_apptest_arg"], | 52 # # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_ar
g. |
| 53 "shell-args": [ | 53 # "test-args": ["--example_apptest_arg"], |
| 54 "--url-mappings=mojo:example_service=mojo:android_example_service" | 54 # "shell-args": [ |
| 55 ], | 55 # "--url-mappings=mojo:example_service=mojo:android_example_service" |
| 56 }, | 56 # ], |
| 57 ] | 57 # }, |
| 58 # ] |
| 58 | 59 |
| 59 if config.target_os != config.OS_ANDROID: | 60 if config.target_os != config.OS_ANDROID: |
| 60 tests += [ | 61 tests += [ |
| 61 { | 62 { |
| 62 # Runs mojo:example_apptests, replacing the mojo:example_service | 63 # Runs mojo:example_apptests, replacing the mojo:example_service |
| 63 # dependency with the alternate test:example_service, launched via mojo | 64 # dependency with the alternate test:example_service, launched via mojo |
| 64 # launcher." | 65 # launcher." |
| 65 "test": "mojo:example_apptests", | 66 "test": "mojo:example_apptests", |
| 66 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. | 67 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. |
| 67 "test-args": ["--example_apptest_arg"], | 68 "test-args": ["--example_apptest_arg"], |
| 68 "shell-args": [ | 69 "shell-args": [ |
| 69 "--url-mappings=mojo:example_service=test:example_service" | 70 "--url-mappings=mojo:example_service=test:example_service" |
| 70 ], | 71 ], |
| 71 "launched-services": ["test:example_service"], | 72 "launched-services": ["test:example_service"], |
| 72 }, | 73 }, |
| 73 { | 74 { |
| 74 "test": "mojo:js_apptests", | 75 "test": "mojo:js_apptests", |
| 75 }, | 76 }, |
| 76 { | 77 { |
| 77 "test": "mojo:reaper_apptests", | 78 "test": "mojo:reaper_apptests", |
| 78 }, | 79 }, |
| 79 { | 80 { |
| 80 "test": "mojo:dart_apptests", | 81 "test": "mojo:dart_apptests", |
| 81 }, | 82 }, |
| 82 ] | 83 ] |
| OLD | NEW |