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

Side by Side Diff: docs/android_test_instructions.md

Issue 1422753009: [Docs] Improve Android test instructions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Android Test Instructions 1 # Android Test Instructions
2 2
3 Device Setup Tests are runnable on physical devices or emulators. See the 3 Device Setup Tests are runnable on physical devices or emulators. See the
4 instructions below for setting up either a physical device or an emulator. 4 instructions below for setting up either a physical device or an emulator.
5 5
6 [TOC] 6 [TOC]
7 7
8 ## Physical Device Setup **ADB Debugging** 8 ## Physical Device Setup **ADB Debugging**
9 9
10 In order to allow the ADB to connect to the device, you must enable USB 10 In order to allow the ADB to connect to the device, you must enable USB
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 Alternatively, you can create an run your own emulator using the tools provided 88 Alternatively, you can create an run your own emulator using the tools provided
89 by the Android SDK. When doing so, be sure to enable GPU emulation in hardware 89 by the Android SDK. When doing so, be sure to enable GPU emulation in hardware
90 settings, since Chromium requires it to render. 90 settings, since Chromium requires it to render.
91 91
92 ## Building Tests 92 ## Building Tests
93 93
94 It may not be immediately obvious where your test code gets compiled to, so here 94 It may not be immediately obvious where your test code gets compiled to, so here
95 are some general rules: 95 are some general rules:
96 96
97 * If your test code lives under /base, it will be built as part of the
98 base_unittests_apk.
97 * If your test code lives under /content, it will probably be built as part of 99 * If your test code lives under /content, it will probably be built as part of
98 the content_shell_test_apk 100 the content_shell_test_apk
99 * If your test code lives under /chrome (or higher), it will probably be built 101 * If your test code lives under /chrome (or higher), it will probably be built
100 as part of the chrome_public_test_apk 102 as part of the chrome_public_test_apk
101 * (Please fill in more details here if you know them). 103 * (Please fill in more details here if you know them).
102 104
103 NB: We used to call the chrome_public_test_apk the 105 NB: We used to call the chrome_public_test_apk the
104 chromium_shell_test_apk. There may still be references to this kicking 106 chromium_shell_test_apk. There may still be references to this kicking
105 around, but wherever you see chromium_shell_test you should replace with 107 around, but wherever you see chromium_shell_test you should replace with
106 chrome_public_test. 108 chrome_public_test.
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 See 286 See
285 https://sites.google.com/a/chromium.org/dev/developers/testing/webkit-layout-tes ts 287 https://sites.google.com/a/chromium.org/dev/developers/testing/webkit-layout-tes ts
286 288
287 ## Running GPU tests 289 ## Running GPU tests
288 290
289 (e.g. the "Android Debug (Nexus 7)" bot on the chromium.gpu waterfall) 291 (e.g. the "Android Debug (Nexus 7)" bot on the chromium.gpu waterfall)
290 292
291 See http://www.chromium.org/developers/testing/gpu-testing for details. Use 293 See http://www.chromium.org/developers/testing/gpu-testing for details. Use
292 --browser=android-content-shell. Examine the stdio from the test invocation on 294 --browser=android-content-shell. Examine the stdio from the test invocation on
293 the bots to see arguments to pass to src/content/test/gpu/run\_gpu\_test.py. 295 the bots to see arguments to pass to src/content/test/gpu/run\_gpu\_test.py.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698