Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # This file contains a list of Mojo apptests. For description of the file | |
| 2 # format, see `mojo_test` in devtools. | |
| 3 | |
| 4 import os | |
|
viettrungluu
2016/02/17 22:18:04
Maybe just "import os.path"?
kulakowski
2016/02/17 22:41:52
Done.
| |
| 5 | |
| 6 _ORIGIN = os.path.join(shell_dir, "fusl_x64") | |
| 7 _ORIGIN_ARG = "--origin=file://" + _ORIGIN | |
| 8 | |
| 9 tests = [ | |
|
kulakowski
2016/02/17 21:31:07
This is all tests that can run without having to b
viettrungluu
2016/02/17 22:18:04
Please update the comment at the top of the file.
kulakowski
2016/02/17 22:41:52
Done.
| |
| 10 { | |
| 11 "test": "mojo:asset_bundle_apptests", | |
| 12 "shell-args": [ _ORIGIN_ARG ], | |
| 13 }, | |
| 14 { | |
| 15 "test": "mojo:authenticating_url_loader_interceptor_apptests", | |
| 16 "shell-args": [ _ORIGIN_ARG ], | |
| 17 }, | |
| 18 { | |
| 19 "test": "mojo:benchmark_apptests", | |
| 20 "shell-args": [ _ORIGIN_ARG ], | |
| 21 }, | |
| 22 { | |
| 23 "test": "mojo:clipboard_apptests", | |
| 24 "shell-args": [ _ORIGIN_ARG ], | |
| 25 }, | |
| 26 { | |
| 27 "test": "mojo:example_apptests", | |
| 28 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. | |
| 29 "shell-args": [ _ORIGIN_ARG ], | |
| 30 "test-args": ["--example_apptest_arg"], | |
| 31 }, | |
| 32 { | |
| 33 "test": "mojo:example_apptests", | |
| 34 "name": "mojo:example_apptests (multiprocess)", | |
| 35 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. | |
| 36 "test-args": ["--example_apptest_arg"], | |
| 37 "shell-args": [ | |
| 38 _ORIGIN_ARG, | |
| 39 "--enable-multiprocess" | |
| 40 ], | |
| 41 }, | |
| 42 { | |
| 43 "test": "mojo:files_apptests", | |
| 44 "shell-args": [ _ORIGIN_ARG ], | |
| 45 }, | |
| 46 { | |
| 47 "test": "mojo:http_server_apptests", | |
| 48 "shell-args": [ _ORIGIN_ARG ], | |
| 49 }, | |
| 50 { | |
| 51 "test": "mojo:log_impl_apptests", | |
| 52 "shell-args": [ _ORIGIN_ARG ], | |
| 53 }, | |
| 54 { | |
| 55 "test": "mojo:moterm_apptests", | |
| 56 "shell-args": [ _ORIGIN_ARG ], | |
| 57 }, | |
| 58 { | |
| 59 "test": "mojo:prediction_apptests", | |
| 60 "shell-args": [ _ORIGIN_ARG ], | |
| 61 }, | |
| 62 { | |
| 63 "test": "mojo:url_response_disk_cache_apptests", | |
| 64 "shell-args": [ _ORIGIN_ARG ], | |
| 65 }, | |
| 66 { | |
| 67 "test": "mojo:example_apptests", | |
| 68 "name": "mojo:example_apptests (python_example_service)", | |
| 69 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. | |
| 70 "test-args": ["--example_apptest_arg"], | |
| 71 "shell-args": [ | |
| 72 "--url-mappings=mojo:example_service=mojo:python_example_service", | |
| 73 _ORIGIN_ARG, | |
| 74 ], | |
| 75 }, | |
| 76 { | |
| 77 "test": "mojo:mojo_url_redirector_apptests", | |
| 78 "test-args": ["--redirector_port=49152", | |
| 79 "--app_location_files_port=49153"], | |
| 80 "shell-args": [ | |
| 81 "--args-for=mojo:mojo_url_redirector 0.0.0.0:49152 http://localhost:49153" , | |
| 82 _ORIGIN_ARG, | |
| 83 ], | |
| 84 } | |
| 85 ] | |
| OLD | NEW |