Stop retring GCM unregistration requests after reaching maximum number
[chromium-blink-merge.git] / mojo / tools / data / apptests
blob50b47e42b091f7d705af0d4cd538e3abc4324335
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 #     "type": "gtest",
18 #     # Optional arguments for the shell or test.
19 #     "args": ["--some-flag-for-the-shell", "--some-flag-for-the-test"],
20 #   }
22 # TODO(vtl|msw): Add a way of specifying data dependencies.
24 tests = [
25   {
26     "test": "mojo:clipboard_apptests",
27     "type": "gtest_isolated",
28   },
29   {
30     "test": "mojo:network_service_apptests",
31     "type": "gtest_isolated",
32   },
33   # TODO(msw|jam): Fix and enable the runner_apptests: http://crbug.com/479316
34   #{
35   #  "test": "mojo:runner_apptests",
36   #  "type": "gtest_isolated",
37   #},
38   {
39     "test": "mojo:view_manager_apptests",
40     "type": "gtest_isolated",
41     "args": ["--use-headless-config"]
42   },
45 # TODO(msw): Get these tests passing on Android too. http://crbug.com/486220
46 if config.target_os != config.OS_ANDROID:
47   tests += [
48     {
49       "test": "mojo:filesystem_apptests",
50       "type": "gtest_isolated",
51     },
52     {
53       "test": "mojo:html_viewer_apptests",
54       "type": "gtest_isolated",
55       "args": ["--use-test-config"]
56     },
57     {
58       "test": "mojo:resource_provider_apptests",
59       "type": "gtest_isolated",
60     },
61     {
62       "test": "mojo:mandoline_frame_apptests",
63       "type": "gtest_isolated",
64       "args": ["--use-headless-config"]
65     },
66     # TODO(xhwang): Fix and enable the media_apptests. http://crbug.com/501417
67     #{
68     #  "test": "mojo:media_apptests",
69     #  "type": "gtest_isolated",
70     #},
71   ]