1 # This file contains a list of Mojo gtest unit tests.
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
5 # list of tests to run.
7 # The entries in |tests| are dictionaries of the following form:
9 # # Required URL for apptest.
10 # "test": "mojo:test_app_url",
11 # # Optional display name (otherwise the entry for "test" above is used).
12 # "name": "mojo:test_app_url (more details)",
13 # # Optional test type. Valid values:
14 # # * "gtest" (default)
15 # # * "gtest_isolated": like "gtest", but run with fixture isolation,
16 # # i.e., each test in a fresh mojo_shell)
19 # # Optional arguments for the apptest.
20 # "test-args": ["--an_arg", "another_arg"],
21 # # Optional arguments for the shell.
22 # "shell-args": ["--some-flag-for-the-shell", "--another-flag"],
25 # TODO(vtl|msw): Add a way of specifying data dependencies.
29 "test": "mojo:clipboard_apptests",
32 "test": "mojo:html_viewer_apptests",
33 "shell-args": ["--is-headless"],
36 "test": "mojo:network_service_apptests",
38 # TODO(msw|jam): Fix and enable the shell_apptests: http://crbug.com/479316
40 # "test": "mojo:shell_apptests",
43 "test": "mojo:view_manager_apptests",
44 "type": "gtest_isolated",
46 "--use-headless-config",
47 "--url-mappings=mojo:window_manager=mojo:test_window_manager"
51 "test": "mojo:window_manager_apptests",
52 "shell-args": ["--use-headless-config"]
55 "test": "mojo:resource_provider_apptests",