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

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
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 23 matching lines...) Expand all
34 { 34 {
35 "test": "mojo:example_apptests", 35 "test": "mojo:example_apptests",
36 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. 36 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
37 "test-args": ["--example_apptest_arg"], 37 "test-args": ["--example_apptest_arg"],
38 "shell-args": [ 38 "shell-args": [
39 "--url-mappings=mojo:example_service=mojo:python_example_service" 39 "--url-mappings=mojo:example_service=mojo:python_example_service"
40 ], 40 ],
41 }, 41 },
42 ] 42 ]
43 43
44 if config.target_os == config.OS_ANDROID:
45 tests += [
46 {
47 "test": "mojo:example_apptests",
48 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
49 "test-args": ["--example_apptest_arg"],
50 "shell-args": [
51 "--url-mappings=mojo:example_service=mojo:android_example_service"
52 ],
53 },
54 ]
55
44 if config.target_os != config.OS_ANDROID: 56 if config.target_os != config.OS_ANDROID:
45 tests += [ 57 tests += [
46 { 58 {
47 # Runs mojo:example_apptests, replacing the mojo:example_service 59 # Runs mojo:example_apptests, replacing the mojo:example_service
48 # dependency with the alternate test:example_service, launched via mojo 60 # dependency with the alternate test:example_service, launched via mojo
49 # launcher." 61 # launcher."
50 "test": "mojo:example_apptests", 62 "test": "mojo:example_apptests",
51 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. 63 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
52 "test-args": ["--example_apptest_arg"], 64 "test-args": ["--example_apptest_arg"],
53 "shell-args": [ 65 "shell-args": [
54 "--url-mappings=mojo:example_service=test:example_service" 66 "--url-mappings=mojo:example_service=test:example_service"
55 ], 67 ],
56 "launched-services": ["test:example_service"], 68 "launched-services": ["test:example_service"],
57 }, 69 },
58 { 70 {
59 "test": "mojo:js_apptests", 71 "test": "mojo:js_apptests",
60 }, 72 },
61 { 73 {
62 "test": "mojo:reaper_apptests", 74 "test": "mojo:reaper_apptests",
63 }, 75 },
64 ] 76 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698