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

Issue 10912136: Build NetError.java to use in java side tests by preprocessing net_errors.cc (Closed)

Created:
8 years, 3 months ago by Yusuf
Modified:
8 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, cjhopman, Torne
Visibility:
Public.

Description

Build NetError.java to use in java side tests by preprocessing net_errors.cc Java side tests will be using a map to convert these error codes to platform specific ones. This generates a java file which can be used to refer to the errorcode. The included test just does a trivial check whether the java file can be included and used. BUG=137967 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155796

Patch Set 1 #

Total comments: 11

Patch Set 2 : Fixed to net.gyp and fixed comments #

Total comments: 5

Patch Set 3 : Nit fixes #

Patch Set 4 : Rebased after conflict with net.gyp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -6 lines) Patch
A + net/android/java/net_errors_java.template View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
A net/android/javatests/src/org/chromium/net/NetErrorsTest.java View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 2 chunks +34 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Yusuf
8 years, 3 months ago (2012-09-06 21:57:52 UTC) #1
Yaron
http://codereview.chromium.org/10912136/diff/1/net/android/javatests/src/org/chromium/net/NetErrorsTest.java File net/android/javatests/src/org/chromium/net/NetErrorsTest.java (right): http://codereview.chromium.org/10912136/diff/1/net/android/javatests/src/org/chromium/net/NetErrorsTest.java#newcode6 net/android/javatests/src/org/chromium/net/NetErrorsTest.java:6: * Test suite for Android's default ProxySelector implementation. The ...
8 years, 3 months ago (2012-09-07 01:05:44 UTC) #2
joth
http://codereview.chromium.org/10912136/diff/1/net/android/java/net_errors_java.template File net/android/java/net_errors_java.template (right): http://codereview.chromium.org/10912136/diff/1/net/android/java/net_errors_java.template#newcode6 net/android/java/net_errors_java.template:6: // DO NOT EDIT! note this comment doesn't make ...
8 years, 3 months ago (2012-09-07 21:45:46 UTC) #3
Yusuf
8 years, 3 months ago (2012-09-07 22:43:13 UTC) #4
Yusuf
willchan@ for net/net.gyp changes
8 years, 3 months ago (2012-09-07 22:43:56 UTC) #5
Yaron
lgtm % nits http://codereview.chromium.org/10912136/diff/1/net/net.gyp File net/net.gyp (right): http://codereview.chromium.org/10912136/diff/1/net/net.gyp#newcode2116 net/net.gyp:2116: '<(SHARED_INTERMEDIATE_DIR)/net/template/NetError.java', On 2012/09/07 21:45:46, joth wrote: ...
8 years, 3 months ago (2012-09-07 22:49:06 UTC) #6
willchan no longer on Chromium
I don't know what's going on here with all this java goop, but nothing looks ...
8 years, 3 months ago (2012-09-07 22:50:12 UTC) #7
cjhopman
http://codereview.chromium.org/10912136/diff/5001/net/net.gyp File net/net.gyp (right): http://codereview.chromium.org/10912136/diff/5001/net/net.gyp#newcode2079 net/net.gyp:2079: 'net_errors_java', I believe that this should only be in ...
8 years, 3 months ago (2012-09-07 23:03:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/10912136/2003
8 years, 3 months ago (2012-09-08 00:40:26 UTC) #9
commit-bot: I haz the power
Presubmit check for 10912136-2003 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 3 months ago (2012-09-08 00:40:32 UTC) #10
Yusuf
willchan@ it was just for adding the new target that creates this java file from ...
8 years, 3 months ago (2012-09-08 00:43:14 UTC) #11
willchan no longer on Chromium
lgtm
8 years, 3 months ago (2012-09-08 00:43:52 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/10912136/2003
8 years, 3 months ago (2012-09-10 17:17:37 UTC) #13
commit-bot: I haz the power
Failed to apply patch for net/net.gyp: While running patch -p1 --forward --force; patching file net/net.gyp ...
8 years, 3 months ago (2012-09-10 17:17:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusufo@chromium.org/10912136/10001
8 years, 3 months ago (2012-09-10 17:56:54 UTC) #15
commit-bot: I haz the power
8 years, 3 months ago (2012-09-10 19:22:51 UTC) #16
Change committed as 155796

Powered by Google App Engine
This is Rietveld 408576698