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

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

Powered by Google App Engine
This is Rietveld 408576698