Adds resource_provider::ResourceProvider
[chromium-blink-merge.git] / mojo / tools / data / apptests
blob2c892f41dcfcf702542bab0752ae54e60f850fa5
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:
8 #   {
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)
17 #     #   * "dart".
18 #     "type": "gtest",
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"],
23 #   }
25 # TODO(vtl|msw): Add a way of specifying data dependencies.
27 tests = [
28   {
29     "test": "mojo:clipboard_apptests",
30   },
31   {
32     "test": "mojo:html_viewer_apptests",
33     "shell-args": ["--is-headless"],
34   },
35   {
36     "test": "mojo:network_service_apptests",
37   },
38   # TODO(msw|jam): Fix and enable the shell_apptests: http://crbug.com/479316
39   #{
40   #  "test": "mojo:shell_apptests",
41   #},
42   {
43     "test": "mojo:view_manager_apptests",
44     "type": "gtest_isolated",
45     "shell-args": [
46       "--use-headless-config",
47       "--url-mappings=mojo:window_manager=mojo:test_window_manager"
48     ]
49   },
50   {
51     "test": "mojo:window_manager_apptests",
52     "shell-args": ["--use-headless-config"]
53   },
54   {
55     "test": "mojo:resource_provider_apptests",
56   },