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

Issue 2200413004: Pass template files explicitly to Robolectric template processor. (Closed)

Created:
4 years, 4 months ago by mikecase (-- gone --)
Modified:
4 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass template files explicitly to Robolectric template processor. Previously, the template processor searched through a directory you passed to it and looked for all .vm files. Changing it so you have to explicitly pass the lits of .vm files to the template processor script. Verified this will fix a problem with the WebRTC bots not being able to find the template files. Committed: https://crrev.com/c46e862757edc04c06b1bd88724d15a5807b84d1 Cr-Commit-Position: refs/heads/master@{#409687}

Patch Set 1 #

Patch Set 2 : Pass template files explicitly to Robolectric template processor. #

Total comments: 8

Patch Set 3 : Pass template files explicitly to Robolectric template processor. #

Patch Set 4 : Jbudoricks commnets #

Messages

Total messages: 18 (9 generated)
mikecase (-- gone --)
Think this should fix the issue on the WebRTC bot.
4 years, 4 months ago (2016-08-03 19:20:39 UTC) #2
mikecase (-- gone --)
https://codereview.chromium.org/2200413004/diff/20001/third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessRobolectricTemplate.java File third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessRobolectricTemplate.java (left): https://codereview.chromium.org/2200413004/diff/20001/third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessRobolectricTemplate.java#oldcode58 third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessRobolectricTemplate.java:58: Files.walkFileTree(parser.getBaseTemplateDir(), new SimpleFileVisitor<Path>() { This walkFileTree line isnt working ...
4 years, 4 months ago (2016-08-03 20:04:28 UTC) #3
mikecase (-- gone --)
Verified that this fix works. Yoland, if you have time to take a look at ...
4 years, 4 months ago (2016-08-03 22:20:26 UTC) #5
jbudorick
https://codereview.chromium.org/2200413004/diff/20001/third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessRobolectricTemplate.java File third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessRobolectricTemplate.java (left): https://codereview.chromium.org/2200413004/diff/20001/third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessRobolectricTemplate.java#oldcode58 third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessRobolectricTemplate.java:58: Files.walkFileTree(parser.getBaseTemplateDir(), new SimpleFileVisitor<Path>() { On 2016/08/03 20:04:27, mikecase wrote: ...
4 years, 4 months ago (2016-08-03 22:24:03 UTC) #6
mikecase (-- gone --)
https://codereview.chromium.org/2200413004/diff/20001/third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessRobolectricTemplate.java File third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessRobolectricTemplate.java (left): https://codereview.chromium.org/2200413004/diff/20001/third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessRobolectricTemplate.java#oldcode58 third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessRobolectricTemplate.java:58: Files.walkFileTree(parser.getBaseTemplateDir(), new SimpleFileVisitor<Path>() { On 2016/08/03 at 22:24:03, jbudorick ...
4 years, 4 months ago (2016-08-03 22:29:55 UTC) #8
the real yoland
lgtm
4 years, 4 months ago (2016-08-03 23:12:01 UTC) #9
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/2200413004/60001
4 years, 4 months ago (2016-08-04 00:50:31 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-04 00:56:36 UTC) #16
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 00:58:20 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c46e862757edc04c06b1bd88724d15a5807b84d1
Cr-Commit-Position: refs/heads/master@{#409687}

Powered by Google App Engine
This is Rietveld 408576698