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:html_viewer_apptests',
59 'type': 'gtest_isolated',
60 'args': ['--use-test-config', '--oopifs',
61 '--enable-html-viewer-test-interface']
64 'test': 'mojo:mandoline_browser_apptests',
65 'type': 'gtest_isolated',
66 'args': ['--use-headless-config']
69 'test': 'mojo:mandoline_frame_apptests',
70 'type': 'gtest_isolated',
71 'args': ['--use-headless-config']
73 # TODO(xhwang): Fix and enable mojo:media_pipeline_integration_apptests.
74 # http://crbug.com/501417
76 'test': 'mojo:media_apptests',
77 'type': 'gtest_isolated',
80 'test': 'mojo:resource_provider_apptests',
81 'type': 'gtest_isolated',
84 'test': 'mojo:sql_apptests',
85 'type': 'gtest_isolated',