Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Side by Side Diff: mojo/tools/data/apptests

Issue 1816323002: Converts resource_provider apptests to unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add quit to delegate and remove dep Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/resource_provider/unittests_manifest.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This file contains a list of Mojo gtest unit tests. 1 # This file contains a list of Mojo gtest unit tests.
2 # 2 #
3 # This must be valid Python. It may use the |config| global that will be a 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 4 # mopy.config.Config object, and must set a |tests| global that will contain the
5 # list of tests to run. 5 # list of tests to run.
6 # 6 #
7 # The entries in |tests| are dictionaries of the following form: 7 # The entries in |tests| are dictionaries of the following form:
8 # { 8 # {
9 # # Required URL for apptest. 9 # # Required URL for apptest.
10 # 'test': 'mojo:test_app_url', 10 # 'test': 'mojo:test_app_url',
11 # # Optional display name (otherwise the entry for 'test' above is used). 11 # # Optional display name (otherwise the entry for 'test' above is used).
12 # 'name': 'mojo:test_app_url (more details)', 12 # 'name': 'mojo:test_app_url (more details)',
13 # # Optional test type. Valid values: 13 # # Optional test type. Valid values:
14 # # * 'gtest': (default) 14 # # * 'gtest': (default)
15 # # * 'gtest_isolated': like 'gtest', but run with fixture isolation. 15 # # * 'gtest_isolated': like 'gtest', but run with fixture isolation.
16 # # i.e., each test in a fresh mojo_shell 16 # # i.e., each test in a fresh mojo_shell
17 # 'type': 'gtest', 17 # 'type': 'gtest',
18 # # Optional arguments for the shell or test. 18 # # Optional arguments for the shell or test.
19 # 'args': ['--some-flag-for-the-shell', '--some-flag-for-the-test'], 19 # 'args': ['--some-flag-for-the-shell', '--some-flag-for-the-test'],
20 # } 20 # }
21 # 21 #
22 # TODO(vtl|msw): Add a way of specifying data dependencies. 22 # TODO(vtl|msw): Add a way of specifying data dependencies.
23 23
24 # WARNING: If you add a test make sure the gn target mojo_apptests depends upon 24 # WARNING: If you add a test make sure the gn target mojo_apptests depends upon
25 # it. 25 # it.
26 tests = [ 26 tests = [
27 {
28 'test': 'mojo:resource_provider_apptests',
29 'type': 'gtest_isolated',
30 },
31 # TODO(msw|jam): Fix and enable the runner_apptests: http://crbug.com/479316 27 # TODO(msw|jam): Fix and enable the runner_apptests: http://crbug.com/479316
32 #{ 28 #{
33 # 'test': 'mojo:runner_apptests', 29 # 'test': 'mojo:runner_apptests',
34 # 'type': 'gtest_isolated', 30 # 'type': 'gtest_isolated',
35 #}, 31 #},
36 ] 32 ]
37 33
38 # TODO(msw): Get these tests passing on Android too. http://crbug.com/486220 34 # TODO(msw): Get these tests passing on Android too. http://crbug.com/486220
39 if config.target_os != config.OS_ANDROID: 35 if config.target_os != config.OS_ANDROID:
40 tests += [ 36 tests += [
41 { 37 {
42 'test': 'mojo:mash_wm_apptests', 38 'test': 'mojo:mash_wm_apptests',
43 'type': 'gtest_isolated', 39 'type': 'gtest_isolated',
44 'args': ['--use-x11-test-config', 40 'args': ['--use-x11-test-config',
45 '--override-use-gl-with-osmesa-for-tests'] 41 '--override-use-gl-with-osmesa-for-tests']
46 }, 42 },
47 { 43 {
48 'test': 'mojo:media_apptests', 44 'test': 'mojo:media_apptests',
49 'type': 'gtest_isolated', 45 'type': 'gtest_isolated',
50 }, 46 },
51 # TODO(media): these tests fail in debug, which has no bot-coverage. 47 # TODO(media): these tests fail in debug, which has no bot-coverage.
52 # http://crbug.com/587523 48 # http://crbug.com/587523
53 # { 49 # {
54 # 'test': 'mojo:media_pipeline_integration_apptests', 50 # 'test': 'mojo:media_pipeline_integration_apptests',
55 # 'type': 'gtest_isolated', 51 # 'type': 'gtest_isolated',
56 # }, 52 # },
57 ] 53 ]
OLDNEW
« no previous file with comments | « components/resource_provider/unittests_manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698