Removes some dead code
[chromium-blink-merge.git] / mojo / tools / data / apptests
blob20823b985a96cb63cec4f7eb8f6603b82bcea6d1
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   },
28   {
29     "test": "mojo:network_service_apptests",
30   },
31   # TODO(msw|jam): Fix and enable the shell_apptests: http://crbug.com/479316
32   #{
33   #  "test": "mojo:shell_apptests",
34   #},
37 # TODO(msw): Get these tests passing on Android too. http://crbug.com/486220
38 if config.target_os != config.OS_ANDROID:
39   tests += [
40     {
41       "test": "mojo:html_viewer_apptests",
42       "args": ["--is-headless"],
43     },
44     {
45       "test": "mojo:view_manager_apptests",
46       "type": "gtest_isolated",
47       "args": ["--use-headless-config"]
48     },
49     {
50       "test": "mojo:resource_provider_apptests",
51     },
52   ]