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

Issue 1126543009: [Android] Refactor the native test wrappers. (Closed)

Created:
5 years, 7 months ago by jbudorick
Modified:
5 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jbudorick+watch_chromium.org, jochen+watch_chromium.org, klundberg+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Refactor the native test wrappers. BUG=476410 Committed: https://crrev.com/581d25e509e4a2b1e8927c6d8accc0c90ea86090 Cr-Commit-Position: refs/heads/master@{#330531}

Patch Set 1 #

Patch Set 2 : forgot apk_browsertest.gypi #

Patch Set 3 : fix unit_tests manifest #

Patch Set 4 : #

Total comments: 22

Patch Set 5 : comments from perezju, jaekyun, tedchoc #

Patch Set 6 : removing stray file #

Patch Set 7 : fix gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+422 lines, -496 lines) Patch
M build/android/pylib/constants/__init__.py View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M build/android/pylib/gtest/gtest_test_instance.py View 1 2 3 4 2 chunks +9 lines, -10 lines 0 comments Download
M build/android/pylib/gtest/local_device_gtest_run.py View 1 2 3 4 6 chunks +22 lines, -12 lines 0 comments Download
M build/android/pylib/gtest/setup.py View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M build/android/pylib/gtest/test_package_apk.py View 1 chunk +3 lines, -7 lines 0 comments Download
M build/android/pylib/gtest/test_runner.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M build/android/pylib/instrumentation/instrumentation_test_instance.py View 1 2 3 2 chunks +6 lines, -6 lines 0 comments Download
M build/android/pylib/utils/apk_helper.py View 1 2 3 4 2 chunks +57 lines, -16 lines 0 comments Download
A build/apk_browsertest.gypi View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
M chrome/test/android/unit_tests_apk/AndroidManifest.xml View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 2 chunks +1 line, -15 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 3 chunks +3 lines, -18 lines 0 comments Download
M components/test/android/browsertests_apk/AndroidManifest.xml.jinja2 View 1 chunk +4 lines, -0 lines 0 comments Download
D components/test/android/browsertests_apk/components_browser_tests_android.h View 1 chunk +0 lines, -16 lines 0 comments Download
D components/test/android/browsertests_apk/components_browser_tests_android.cc View 1 chunk +0 lines, -99 lines 0 comments Download
M components/test/android/browsertests_apk/components_browser_tests_jni_onload.cc View 1 2 3 1 chunk +6 lines, -4 lines 0 comments Download
M components/test/android/browsertests_apk/src/org/chromium/components_browsertests_apk/ComponentsBrowserTestsActivity.java View 1 2 3 4 2 chunks +11 lines, -26 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 4 chunks +3 lines, -6 lines 0 comments Download
M content/shell/android/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M content/shell/android/browsertests_apk/AndroidManifest.xml.jinja2 View 1 chunk +4 lines, -0 lines 0 comments Download
D content/shell/android/browsertests_apk/content_browser_tests_android.h View 1 chunk +0 lines, -16 lines 0 comments Download
D content/shell/android/browsertests_apk/content_browser_tests_android.cc View 1 chunk +0 lines, -101 lines 0 comments Download
M content/shell/android/browsertests_apk/content_browser_tests_jni_onload.cc View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java View 1 2 3 4 2 chunks +11 lines, -26 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M testing/android/native_test.gyp View 2 chunks +36 lines, -20 lines 0 comments Download
M testing/android/native_test/BUILD.gn View 2 chunks +17 lines, -16 lines 0 comments Download
M testing/android/native_test/java/AndroidManifest.xml View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A testing/android/native_test/java/src/org/chromium/native_test/NativeBrowserTestActivity.java View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
M testing/android/native_test/java/src/org/chromium/native_test/NativeTestActivity.java View 1 2 3 4 5 chunks +45 lines, -48 lines 0 comments Download
M testing/android/native_test/java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java View 1 2 3 4 chunks +14 lines, -8 lines 0 comments Download
A testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
M testing/android/native_test/native_test_jni_onload.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M testing/android/native_test/native_test_launcher.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M testing/android/native_test/native_test_launcher.cc View 1 2 3 4 4 chunks +7 lines, -7 lines 0 comments Download
M testing/android/native_test/native_test_util.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M testing/android/native_test/native_test_util.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
jbudorick
Despite what it may look like, this is not just an attempt at CL language ...
5 years, 7 months ago (2015-05-05 15:29:42 UTC) #2
perezju
mostly a rubber-stamp lgtm, just added a few comments on apk_helper https://codereview.chromium.org/1126543009/diff/60001/build/android/pylib/utils/apk_helper.py File build/android/pylib/utils/apk_helper.py (right): ...
5 years, 7 months ago (2015-05-05 16:15:01 UTC) #3
Jaekyun Seok (inactive)
https://codereview.chromium.org/1126543009/diff/60001/testing/android/native_test/native_test_launcher.cc File testing/android/native_test/native_test_launcher.cc (right): https://codereview.chromium.org/1126543009/diff/60001/testing/android/native_test/native_test_launcher.cc#newcode124 testing/android/native_test/native_test_launcher.cc:124: if (!base::android::RedirectStream(stdout, stdout_file_path, "w")) { "w+" is being used ...
5 years, 7 months ago (2015-05-05 22:40:35 UTC) #4
Ted C
https://codereview.chromium.org/1126543009/diff/60001/build/android/pylib/gtest/gtest_test_instance.py File build/android/pylib/gtest/gtest_test_instance.py (right): https://codereview.chromium.org/1126543009/diff/60001/build/android/pylib/gtest/gtest_test_instance.py#newcode22 build/android/pylib/gtest/gtest_test_instance.py:22: '--single_process', Any reason we don't add these in the ...
5 years, 7 months ago (2015-05-05 23:11:17 UTC) #5
jbudorick
https://codereview.chromium.org/1126543009/diff/60001/build/android/pylib/gtest/gtest_test_instance.py File build/android/pylib/gtest/gtest_test_instance.py (right): https://codereview.chromium.org/1126543009/diff/60001/build/android/pylib/gtest/gtest_test_instance.py#newcode22 build/android/pylib/gtest/gtest_test_instance.py:22: '--single_process', On 2015/05/05 23:11:17, Ted C wrote: > Any ...
5 years, 7 months ago (2015-05-06 18:00:00 UTC) #6
Ted C
lgtm
5 years, 7 months ago (2015-05-14 18:07:20 UTC) #7
jbudorick
cjhopman, any thoughts about the gyp/gn in here?
5 years, 7 months ago (2015-05-14 22:43:18 UTC) #8
cjhopman
lgtm
5 years, 7 months ago (2015-05-15 20:11:27 UTC) #9
jbudorick
+jochen for owners review for: - components/BUILD.gn - content/test/BUILD.gn
5 years, 7 months ago (2015-05-15 20:57:12 UTC) #11
jochen (gone - plz use gerrit)
lgtm
5 years, 7 months ago (2015-05-19 11:03:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126543009/100001
5 years, 7 months ago (2015-05-19 13:50:31 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126543009/120001
5 years, 7 months ago (2015-05-19 15:26:40 UTC) #19
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 7 months ago (2015-05-19 17:09:23 UTC) #20
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/581d25e509e4a2b1e8927c6d8accc0c90ea86090 Cr-Commit-Position: refs/heads/master@{#330531}
5 years, 7 months ago (2015-05-19 17:10:14 UTC) #21
jbudorick
5 years, 7 months ago (2015-05-19 20:03:30 UTC) #22
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.chromium.org/1138993009/ by jbudorick@chromium.org.

The reason for reverting is: broke
http://build.chromium.org/p/chromium.mojo/builders/Chromium%20Mojo%20Android

e.g.
http://build.chromium.org/p/chromium.mojo/builders/Chromium%20Mojo%20Android/....

Powered by Google App Engine
This is Rietveld 408576698