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", |
11 # # Optional display name (otherwise the entry for "test" above is used). | 11 # # Optional display name (otherwise the entry for "test" above is used). |
12 # "name": "mojo:test_app_url (more details)", | 12 # "name": "mojo:test_app_url (more details)", |
13 # # Optional test type. Valid values: | 13 # # Optional test type. Valid values: |
14 # # * "gtest" (default) | 14 # # * "gtest" (default) |
15 # # * "gtest_isolated": like "gtest", but run with fixture isolation, | 15 # # * "gtest_isolated": like "gtest", but run with fixture isolation, |
16 # # i.e., each test in a fresh mojo_shell) | 16 # # i.e., each test in a fresh mojo_shell) |
17 # # * "dart". | |
18 # "type": "gtest", | 17 # "type": "gtest", |
19 # # Optional arguments for the apptest. | 18 # # Optional arguments for the apptest. |
20 # "test-args": ["--an_arg", "another_arg"], | 19 # "test-args": ["--an_arg", "another_arg"], |
21 # # Optional arguments for the shell. | 20 # # Optional arguments for the shell. |
22 # "shell-args": ["--some-flag-for-the-shell", "--another-flag"], | 21 # "shell-args": ["--some-flag-for-the-shell", "--another-flag"], |
23 # } | 22 # } |
24 # | 23 # |
25 # TODO(vtl|msw): Add a way of specifying data dependencies. | 24 # TODO(vtl|msw): Add a way of specifying data dependencies. |
26 | 25 |
27 tests = [ | 26 tests = [ |
(...skipping 21 matching lines...) Expand all Loading... |
49 "type": "gtest_isolated", | 48 "type": "gtest_isolated", |
50 "shell-args": [ | 49 "shell-args": [ |
51 "--use-headless-config", | 50 "--use-headless-config", |
52 "--url-mappings=mojo:window_manager=mojo:test_window_manager" | 51 "--url-mappings=mojo:window_manager=mojo:test_window_manager" |
53 ] | 52 ] |
54 }, | 53 }, |
55 { | 54 { |
56 "test": "mojo:resource_provider_apptests", | 55 "test": "mojo:resource_provider_apptests", |
57 }, | 56 }, |
58 ] | 57 ] |
OLD | NEW |