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

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

Issue 898853006: Java content handler for Android. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/public/java/system/src/org/chromium/mojo/system/RunLoop.java ('k') | services/BUILD.gn » ('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 # This must be valid python. It can use the |config| global that will be a 2 # This must be valid python. It can use the |config| global that will be a
3 # mopy.config.Config object and must set a |tests| global that will contain the 3 # mopy.config.Config object and must set a |tests| global that will contain the
4 # tests to run. 4 # tests to run.
5 # TODO(vtl|msw): Add a way of specifying data dependencies. 5 # TODO(vtl|msw): Add a way of specifying data dependencies.
6 6
7 tests = [ 7 tests = [
8 { 8 {
9 "test": "mojo:clipboard_apptests", 9 "test": "mojo:clipboard_apptests",
10 }, 10 },
(...skipping 26 matching lines...) Expand all
37 { 37 {
38 "test": "mojo:example_apptests", 38 "test": "mojo:example_apptests",
39 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. 39 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
40 "test-args": ["--example_apptest_arg"], 40 "test-args": ["--example_apptest_arg"],
41 "shell-args": [ 41 "shell-args": [
42 "--url-mappings=mojo:example_service=mojo:python_example_service" 42 "--url-mappings=mojo:example_service=mojo:python_example_service"
43 ], 43 ],
44 }, 44 },
45 ] 45 ]
46 46
47 if config.target_os == config.OS_ANDROID:
48 tests += [
49 {
50 "test": "mojo:example_apptests",
51 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
52 "test-args": ["--example_apptest_arg"],
53 "shell-args": [
54 "--url-mappings=mojo:example_service=mojo:android_example_service"
55 ],
56 },
57 ]
58
47 if config.target_os != config.OS_ANDROID: 59 if config.target_os != config.OS_ANDROID:
48 tests += [ 60 tests += [
49 { 61 {
50 # Runs mojo:example_apptests, replacing the mojo:example_service 62 # Runs mojo:example_apptests, replacing the mojo:example_service
51 # dependency with the alternate test:example_service, launched via mojo 63 # dependency with the alternate test:example_service, launched via mojo
52 # launcher." 64 # launcher."
53 "test": "mojo:example_apptests", 65 "test": "mojo:example_apptests",
54 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. 66 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
55 "test-args": ["--example_apptest_arg"], 67 "test-args": ["--example_apptest_arg"],
56 "shell-args": [ 68 "shell-args": [
57 "--url-mappings=mojo:example_service=test:example_service" 69 "--url-mappings=mojo:example_service=test:example_service"
58 ], 70 ],
59 "launched-services": ["test:example_service"], 71 "launched-services": ["test:example_service"],
60 }, 72 },
61 { 73 {
62 "test": "mojo:js_apptests", 74 "test": "mojo:js_apptests",
63 }, 75 },
64 { 76 {
65 "test": "mojo:reaper_apptests", 77 "test": "mojo:reaper_apptests",
66 }, 78 },
67 ] 79 ]
68 80
69 # TODO: get dart unittests working with asan. 81 # TODO: get dart unittests working with asan.
70 if not config.sanitizer: 82 if not config.sanitizer:
71 tests += [ 83 tests += [
72 { 84 {
73 "test": "mojo:dart_apptests", 85 "test": "mojo:dart_apptests",
74 }, 86 },
75 ] 87 ]
OLDNEW
« no previous file with comments | « mojo/public/java/system/src/org/chromium/mojo/system/RunLoop.java ('k') | services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698