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",
27 "type": "gtest_isolated",
30 "test": "mojo:network_service_apptests",
31 "type": "gtest_isolated",
33 # TODO(msw|jam): Fix and enable the runner_apptests: http://crbug.com/479316
35 # "test": "mojo:runner_apptests",
36 # "type": "gtest_isolated",
39 "test": "mojo:view_manager_apptests",
40 "type": "gtest_isolated",
41 "args": ["--use-headless-config"]
45 # TODO(msw): Get these tests passing on Android too. http://crbug.com/486220
46 if config.target_os != config.OS_ANDROID:
49 "test": "mojo:filesystem_apptests",
50 "type": "gtest_isolated",
53 "test": "mojo:html_viewer_apptests",
54 "type": "gtest_isolated",
55 "args": ["--use-test-config"]
58 "test": "mojo:resource_provider_apptests",
59 "type": "gtest_isolated",
62 "test": "mojo:mandoline_frame_apptests",
63 "type": "gtest_isolated",
64 "args": ["--use-headless-config"]
66 # TODO(xhwang): Fix and enable the media_apptests. http://crbug.com/501417
68 # "test": "mojo:media_apptests",
69 # "type": "gtest_isolated",