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

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

Issue 1144673003: Fix and cleanup Mojo and Mandoline python scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comments. Created 5 years, 7 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 | « mojo/tools/apptest_runner.py ('k') | mojo/tools/mopy/config.py » ('j') | 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 # # * "dart".
18 # "type": "gtest", 17 # "type": "gtest",
19 # # Optional arguments for the apptest. 18 # # Optional arguments for the apptest.
20 # "test-args": ["--an_arg", "another_arg"], 19 # "test-args": ["--an_arg", "another_arg"],
21 # # Optional arguments for the shell. 20 # # Optional arguments for the shell.
22 # "shell-args": ["--some-flag-for-the-shell", "--another-flag"], 21 # "shell-args": ["--some-flag-for-the-shell", "--another-flag"],
23 # } 22 # }
24 # 23 #
25 # TODO(vtl|msw): Add a way of specifying data dependencies. 24 # TODO(vtl|msw): Add a way of specifying data dependencies.
26 25
27 tests = [ 26 tests = [
(...skipping 21 matching lines...) Expand all
49 "type": "gtest_isolated", 48 "type": "gtest_isolated",
50 "shell-args": [ 49 "shell-args": [
51 "--use-headless-config", 50 "--use-headless-config",
52 "--url-mappings=mojo:window_manager=mojo:test_window_manager" 51 "--url-mappings=mojo:window_manager=mojo:test_window_manager"
53 ] 52 ]
54 }, 53 },
55 { 54 {
56 "test": "mojo:resource_provider_apptests", 55 "test": "mojo:resource_provider_apptests",
57 }, 56 },
58 ] 57 ]
OLDNEW
« no previous file with comments | « mojo/tools/apptest_runner.py ('k') | mojo/tools/mopy/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698