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

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: 2016 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
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 += [
(...skipping 11 matching lines...) Expand all
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 {
58 'test': 'mojo:leveldb_apptests', 54 'test': 'mojo:leveldb_apptests',
59 'type': 'gtest_isolated', 55 'type': 'gtest_isolated',
60 } 56 }
61 ] 57 ]
OLDNEW
« components/resource_provider/BUILD.gn ('K') | « components/resource_provider/test_manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698