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

Issue 2341093002: Update classpath to make Robolectric JUnit tests work in Eclipse. (Closed)

Created:
4 years, 3 months ago by Bernhard Bauer
Modified:
4 years, 2 months ago
Reviewers:
dgn
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update classpath to make Robolectric JUnit tests work in Eclipse. * Update path to hamcrest-core jar file. * Robolectric: - Use compiled version of robolectric_java and robolectric_utils. They use parts of the JRE library that aren't available in the Android subset, so Eclipse (building against android.jar) can't compile this from source. The compiled version works because the JUnit test target can *run* against a different version of the JRE. - Use compiled version of shadows-core. Shadows are registered via generated classes that are not available in the source directory. * Add missing jar files for bouncycastle, intellij-annotations, and sqlite4java (required by Robolectric). Committed: https://crrev.com/04c4e1fd19ed47ac33d44b64ba2325a5bc0581a8 Cr-Commit-Position: refs/heads/master@{#422425}

Patch Set 1 #

Patch Set 2 : x #

Total comments: 1

Patch Set 3 : docs #

Patch Set 4 : x #

Patch Set 5 : x #

Total comments: 1

Patch Set 6 : o #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -4 lines) Patch
A docs/eclipse.md View 1 2 1 chunk +186 lines, -0 lines 0 comments Download
M tools/android/eclipse/.classpath View 1 2 3 4 3 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
Bernhard Bauer
Please review. Instructions to create a JUnit test in Eclipse are forthcoming. Right now they're ...
4 years, 2 months ago (2016-09-27 09:39:02 UTC) #7
Bernhard Bauer
On 2016/09/27 09:39:02, Bernhard Bauer wrote: > Please review. > > Instructions to create a ...
4 years, 2 months ago (2016-09-30 13:59:50 UTC) #10
Bernhard Bauer
On 2016/09/30 13:59:50, Bernhard Bauer wrote: > On 2016/09/27 09:39:02, Bernhard Bauer wrote: > > ...
4 years, 2 months ago (2016-10-03 11:29:54 UTC) #13
dgn
On 2016/10/03 11:29:54, Bernhard Bauer wrote: > On 2016/09/30 13:59:50, Bernhard Bauer wrote: > > ...
4 years, 2 months ago (2016-10-03 11:58:20 UTC) #14
Bernhard Bauer
On 2016/10/03 11:58:20, dgn wrote: > On 2016/10/03 11:29:54, Bernhard Bauer wrote: > > On ...
4 years, 2 months ago (2016-10-03 14:59:27 UTC) #15
dgn
lgtm. Thanks for porting the doc to markdown! For the classpath, the unit tests that ...
4 years, 2 months ago (2016-10-03 15:04:06 UTC) #16
Bernhard Bauer
On 2016/10/03 15:04:06, dgn wrote: > lgtm. Thanks for porting the doc to markdown! > ...
4 years, 2 months ago (2016-10-03 15:09:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2341093002/100001
4 years, 2 months ago (2016-10-03 15:09:35 UTC) #19
dgn
On 2016/10/03 15:09:15, Bernhard Bauer wrote: > On 2016/10/03 15:04:06, dgn wrote: > > lgtm. ...
4 years, 2 months ago (2016-10-03 15:13:48 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-03 15:18:20 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-10-03 15:21:37 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/04c4e1fd19ed47ac33d44b64ba2325a5bc0581a8
Cr-Commit-Position: refs/heads/master@{#422425}

Powered by Google App Engine
This is Rietveld 408576698