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

Issue 1051343002: Add junit tests for //base/android (Closed)

Created:
5 years, 8 months ago by dgn
Modified:
5 years, 8 months ago
Reviewers:
danakj, Yaron
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add junit tests for //base/android Adds a gyp and gn build target: base_junit_tests Adds test suite: base_junit_tests Depends on https://codereview.chromium.org/1048153002/ BUG=448030, 472152 Committed: https://crrev.com/c0c058979a1a452f16271eb134246fd79f5023fa Cr-Commit-Position: refs/heads/master@{#326861}

Patch Set 1 #

Patch Set 2 : Update gn to use junit template, fix presubmit #

Patch Set 3 : Rewrote the tests for the updated Log class #

Total comments: 2

Patch Set 4 : Rewrote callOriginTest to use a regex instead of getting a second stack trace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -0 lines) Patch
M base/BUILD.gn View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
A base/android/junit/src/org/chromium/base/LogTest.java View 1 2 3 1 chunk +93 lines, -0 lines 0 comments Download
M base/base.gyp View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
dgn
mikecase@: PTAL. I tested gyp only for now. I'm investigating why my GN build fails.
5 years, 8 months ago (2015-04-02 17:46:58 UTC) #1
mikecase (-- gone --)
On 2015/04/02 17:46:58, dgn wrote: > mikecase@: PTAL. I tested gyp only for now. I'm ...
5 years, 8 months ago (2015-04-02 17:52:35 UTC) #2
dgn
On 2015/04/02 17:52:35, mikecase wrote: > On 2015/04/02 17:46:58, dgn wrote: > > mikecase@: PTAL. ...
5 years, 8 months ago (2015-04-02 18:10:22 UTC) #3
mikecase (-- gone --)
On 2015/04/02 18:10:22, dgn wrote: > On 2015/04/02 17:52:35, mikecase wrote: > > On 2015/04/02 ...
5 years, 8 months ago (2015-04-07 22:56:40 UTC) #4
dgn
On 2015/04/07 22:56:40, mikecase wrote: > On 2015/04/02 18:10:22, dgn wrote: > > On 2015/04/02 ...
5 years, 8 months ago (2015-04-08 10:20:45 UTC) #5
dgn
Please take a look when you have a moment. It adds junit tests for base ...
5 years, 8 months ago (2015-04-09 09:00:03 UTC) #7
dgn
yfriedman@: Can you please have a look at base/android/junit/src/org/chromium/base/LogTest.java? Thanks
5 years, 8 months ago (2015-04-24 17:58:42 UTC) #9
Yaron
lgtm with one comment. First roboelectric test I've reviewed - shadows are pretty awesome! https://codereview.chromium.org/1051343002/diff/40001/base/android/junit/src/org/chromium/base/LogTest.java ...
5 years, 8 months ago (2015-04-24 18:34:48 UTC) #10
dgn
Thanks for the review! Robolectric is great yes! (Well, as long as there is not ...
5 years, 8 months ago (2015-04-24 19:04:29 UTC) #11
danakj
LGTM
5 years, 8 months ago (2015-04-24 19:08:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1051343002/60001
5 years, 8 months ago (2015-04-24 19:09:58 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-24 20:09:50 UTC) #16
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 20:11:34 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c0c058979a1a452f16271eb134246fd79f5023fa
Cr-Commit-Position: refs/heads/master@{#326861}

Powered by Google App Engine
This is Rietveld 408576698