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

Issue 96523004: Android: split golden content from jni_generator_tests. (Closed)

Created:
7 years ago by bulach
Modified:
7 years ago
Reviewers:
Sami
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Android: split golden content from jni_generator_tests. Rather than intermix the generated golden files with the test script, extract in separate files. Also, if "REBASELINE" environment variable is set, it'll re-generate the golden scripts, to it's much simpler to do changes in the generator itself. Note: there are NO functional changes in the generator itself, only in the tests. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237947

Patch Set 1 #

Total comments: 8

Patch Set 2 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1387 lines, -1383 lines) Patch
M base/android/jni_generator/jni_generator_tests.py View 1 11 chunks +32 lines, -1383 lines 0 comments Download
A base/android/jni_generator/testCalledByNatives.golden View 1 chunk +486 lines, -0 lines 0 comments Download
A base/android/jni_generator/testFromJavaP.golden View 1 chunk +255 lines, -0 lines 0 comments Download
A base/android/jni_generator/testFromJavaPGenerics.golden View 1 chunk +63 lines, -0 lines 0 comments Download
A base/android/jni_generator/testInnerClassNatives.golden View 1 chunk +58 lines, -0 lines 0 comments Download
A base/android/jni_generator/testInnerClassNativesBothInnerAndOuter.golden View 1 chunk +77 lines, -0 lines 0 comments Download
A base/android/jni_generator/testInnerClassNativesMultiple.golden View 1 chunk +78 lines, -0 lines 0 comments Download
A base/android/jni_generator/testJarJarRemapping.golden View 1 chunk +59 lines, -0 lines 0 comments Download
A base/android/jni_generator/testNatives.golden View 1 chunk +216 lines, -0 lines 0 comments Download
A base/android/jni_generator/testNativesLong.golden View 1 chunk +63 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
bulach
ptal
7 years ago (2013-11-29 12:26:03 UTC) #1
Sami
Thanks, this makes the tests a lot more maintainable. https://codereview.chromium.org/96523004/diff/1/base/android/jni_generator/jni_generator_tests.py File base/android/jni_generator/jni_generator_tests.py (right): https://codereview.chromium.org/96523004/diff/1/base/android/jni_generator/jni_generator_tests.py#newcode68 base/android/jni_generator/jni_generator_tests.py:68: ...
7 years ago (2013-11-29 13:24:41 UTC) #2
bulach
thanks sami! another look please? https://codereview.chromium.org/96523004/diff/1/base/android/jni_generator/jni_generator_tests.py File base/android/jni_generator/jni_generator_tests.py (right): https://codereview.chromium.org/96523004/diff/1/base/android/jni_generator/jni_generator_tests.py#newcode68 base/android/jni_generator/jni_generator_tests.py:68: if os.environ.get('REBASELINE'): On 2013/11/29 ...
7 years ago (2013-11-29 13:58:23 UTC) #3
Sami
Yes, this is exactly what I was after even if I failed to explain it ...
7 years ago (2013-11-29 14:22:15 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/96523004/40001
7 years ago (2013-11-29 14:29:34 UTC) #5
commit-bot: I haz the power
7 years ago (2013-11-29 20:11:26 UTC) #6
Message was sent while issue was closed.
Change committed as 237947

Powered by Google App Engine
This is Rietveld 408576698