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

Issue 10986042: Fix the failed cases in URLFetcherFileTest on Android. (Closed)

Created:
8 years, 2 months ago by Shouqun Liu
Modified:
8 years, 1 month ago
Reviewers:
bulach, Yaron, wtc, Isaac (away)
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, yfriedman+watch_chromium.org, bulach+watch_chromium.org, peter+watch_chromium.org, ilevy+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Fix the failed cases in URLFetcherFileTest on Android. * Push the needed data files to target device. * Set the correct document root. BUG= TEST=net_unittests --gtest_filter=URLFetcherFileTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164061

Patch Set 1 : #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Clean the patch #

Total comments: 7

Patch Set 4 : update the patch with android special case #

Patch Set 5 : refine the patch #

Total comments: 3

Patch Set 6 : change in test case #

Total comments: 1

Patch Set 7 : change in the test server #

Patch Set 8 : move GetDocumentRoot to test server #

Total comments: 6

Patch Set 9 : refine the patch with nits fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -8 lines) Patch
M build/android/pylib/single_test_runner.py View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M net/test/local_test_server.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M net/test/remote_test_server.h View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M net/test/remote_test_server.cc View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -0 lines 0 comments Download
M net/url_request/url_fetcher_impl_unittest.cc View 1 2 3 4 5 6 7 8 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
Shouqun Liu
Fix the failed cases in URLFetcherFileTest by pushing missing files and setting correct document root. ...
8 years, 2 months ago (2012-09-26 05:50:57 UTC) #1
Isaac (away)
should these tests be re-enabled? That list is in build/android/gtest_filter
8 years, 2 months ago (2012-09-26 05:53:15 UTC) #2
Shouqun Liu
On 2012/09/26 05:53:15, Isaac wrote: > should these tests be re-enabled? That list is in ...
8 years, 2 months ago (2012-09-26 06:01:21 UTC) #3
Isaac (away)
On 2012/09/26 06:01:21, Shouqun Liu wrote: > On 2012/09/26 05:53:15, Isaac wrote: > > should ...
8 years, 2 months ago (2012-09-26 06:03:23 UTC) #4
Isaac (away)
i.e. from cmd line: for i in {0..10}; do git cl try -b android_dbg; done
8 years, 2 months ago (2012-09-26 06:04:13 UTC) #5
Shouqun Liu
On 2012/09/26 06:04:13, Isaac wrote: > i.e. from cmd line: > > for i in ...
8 years, 2 months ago (2012-09-26 06:05:43 UTC) #6
Isaac (away)
If you can use CQ you can send try jobs. It's the same permission set ...
8 years, 2 months ago (2012-09-26 06:13:07 UTC) #7
Isaac (away)
On 2012/09/26 06:13:07, Isaac wrote: > If you can use CQ you can send try ...
8 years, 2 months ago (2012-09-26 06:29:00 UTC) #8
Isaac (away)
On 2012/09/26 06:29:00, Isaac wrote: > On 2012/09/26 06:13:07, Isaac wrote: > > If you ...
8 years, 2 months ago (2012-09-26 06:29:43 UTC) #9
Shouqun Liu
On 2012/09/26 06:13:07, Isaac wrote: > If you can use CQ you can send try ...
8 years, 2 months ago (2012-09-26 06:30:32 UTC) #10
Isaac (away)
On 2012/09/26 06:30:32, Shouqun Liu wrote: > On 2012/09/26 06:13:07, Isaac wrote: > > If ...
8 years, 2 months ago (2012-09-26 06:33:18 UTC) #11
Shouqun Liu
On 2012/09/26 06:33:18, Isaac wrote: > On 2012/09/26 06:30:32, Shouqun Liu wrote: > > On ...
8 years, 2 months ago (2012-09-26 06:39:01 UTC) #12
Isaac (away)
sure, that's fine too. http://codereview.chromium.org/10986042/diff/7002/build/android/pylib/single_test_runner.py File build/android/pylib/single_test_runner.py (right): http://codereview.chromium.org/10986042/diff/7002/build/android/pylib/single_test_runner.py#newcode69 build/android/pylib/single_test_runner.py:69: return (self.test_package.test_suite_basename == 'net_unittests' or ...
8 years, 2 months ago (2012-09-26 06:42:04 UTC) #13
Shouqun Liu
On 2012/09/26 06:42:04, Isaac wrote: > sure, that's fine too. > > http://codereview.chromium.org/10986042/diff/7002/build/android/pylib/single_test_runner.py > File ...
8 years, 2 months ago (2012-09-26 07:00:58 UTC) #14
Shouqun Liu
On 2012/09/26 07:00:58, Shouqun Liu wrote: > On 2012/09/26 06:42:04, Isaac wrote: > > sure, ...
8 years, 2 months ago (2012-09-26 07:28:24 UTC) #15
wtc
Review comments on patch set 3: Thank you for the patch. I suggest two changes. ...
8 years, 2 months ago (2012-09-26 23:48:20 UTC) #16
Shouqun Liu
Hi wtc, thanks for your comments, my answers below: http://codereview.chromium.org/10986042/diff/11003/net/url_request/url_fetcher_impl_unittest.cc File net/url_request/url_fetcher_impl_unittest.cc (right): http://codereview.chromium.org/10986042/diff/11003/net/url_request/url_fetcher_impl_unittest.cc#newcode388 net/url_request/url_fetcher_impl_unittest.cc:388: ...
8 years, 2 months ago (2012-09-27 01:24:51 UTC) #17
wtc
http://codereview.chromium.org/10986042/diff/11003/net/url_request/url_fetcher_impl_unittest.cc File net/url_request/url_fetcher_impl_unittest.cc (right): http://codereview.chromium.org/10986042/diff/11003/net/url_request/url_fetcher_impl_unittest.cc#newcode1088 net/url_request/url_fetcher_impl_unittest.cc:1088: FilePath(kDocRoot)); Perhaps we can pass document_root_ or something based ...
8 years, 2 months ago (2012-09-28 21:43:13 UTC) #18
Shouqun Liu
patch refined by adding GetDocumentRoot() function and avoiding duplicating #ifdef in multiple tests, thanks for ...
8 years, 2 months ago (2012-09-29 06:16:07 UTC) #19
wtc
Review comments on patch set 5: Shouqun: I'm terribly sorry that I forgot to reply ...
8 years, 2 months ago (2012-10-16 21:43:03 UTC) #20
Shouqun Liu
http://codereview.chromium.org/10986042/diff/17001/net/url_request/url_fetcher_impl_unittest.cc File net/url_request/url_fetcher_impl_unittest.cc (right): http://codereview.chromium.org/10986042/diff/17001/net/url_request/url_fetcher_impl_unittest.cc#newcode398 net/url_request/url_fetcher_impl_unittest.cc:398: return test_server.document_root(); Hi wtc, thanks for your advice! For ...
8 years, 2 months ago (2012-10-17 08:44:30 UTC) #21
wtc
http://codereview.chromium.org/10986042/diff/23001/net/url_request/url_fetcher_impl_unittest.cc File net/url_request/url_fetcher_impl_unittest.cc (right): http://codereview.chromium.org/10986042/diff/23001/net/url_request/url_fetcher_impl_unittest.cc#newcode394 net/url_request/url_fetcher_impl_unittest.cc:394: FilePath GetDocumentRoot(const TestServer& test_server) { My proposal is to ...
8 years, 2 months ago (2012-10-18 22:25:01 UTC) #22
Shouqun Liu
On 2012/10/18 22:25:01, wtc wrote: > http://codereview.chromium.org/10986042/diff/23001/net/url_request/url_fetcher_impl_unittest.cc > File net/url_request/url_fetcher_impl_unittest.cc (right): > > http://codereview.chromium.org/10986042/diff/23001/net/url_request/url_fetcher_impl_unittest.cc#newcode394 > ...
8 years, 2 months ago (2012-10-19 01:15:31 UTC) #23
wtc
Patch set 8 LGTM. Thanks. I suggest some comment changes. http://codereview.chromium.org/10986042/diff/27003/net/test/local_test_server.h File net/test/local_test_server.h (right): http://codereview.chromium.org/10986042/diff/27003/net/test/local_test_server.h#newcode56 ...
8 years, 2 months ago (2012-10-23 18:28:31 UTC) #24
Shouqun Liu
thanks for your careful review, nits fixed. http://codereview.chromium.org/10986042/diff/27003/net/test/local_test_server.h File net/test/local_test_server.h (right): http://codereview.chromium.org/10986042/diff/27003/net/test/local_test_server.h#newcode56 net/test/local_test_server.h:56: FilePath GetDocumentRoot() ...
8 years, 2 months ago (2012-10-24 02:32:47 UTC) #25
wtc
Patch set 9 LGTM.
8 years, 1 month ago (2012-10-25 00:20:23 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shouqun.liu@intel.com/10986042/36001
8 years, 1 month ago (2012-10-25 04:23:35 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shouqun.liu@intel.com/10986042/36001
8 years, 1 month ago (2012-10-25 08:23:04 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shouqun.liu@intel.com/10986042/51001
8 years, 1 month ago (2012-10-25 08:31:14 UTC) #29
commit-bot: I haz the power
Retried try job too often for step(s) unit_tests
8 years, 1 month ago (2012-10-25 09:31:47 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shouqun.liu@intel.com/10986042/51001
8 years, 1 month ago (2012-10-25 12:50:38 UTC) #31
commit-bot: I haz the power
8 years, 1 month ago (2012-10-25 13:17:30 UTC) #32
Change committed as 164061

Powered by Google App Engine
This is Rietveld 408576698