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)
18 # # Optional arguments for the shell or test.
19 # "args": ["--some-flag-for-the-shell", "--some-flag-for-the-test"],
22 # TODO(vtl|msw): Add a way of specifying data dependencies.
26 "test": "mojo:clipboard_apptests",
29 "test": "mojo:network_service_apptests",
31 # TODO(msw|jam): Fix and enable the shell_apptests: http://crbug.com/479316
33 # "test": "mojo:shell_apptests",
37 # TODO(msw): Get these tests passing on Android too. http://crbug.com/486220
38 if config.target_os != config.OS_ANDROID:
41 "test": "mojo:html_viewer_apptests",
42 "args": ["--is-headless"],
45 "test": "mojo:view_manager_apptests",
46 "type": "gtest_isolated",
47 "args": ["--use-headless-config"]
50 "test": "mojo:resource_provider_apptests",