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

Issue 1431653003: Migrating tests to use EmbeddedTestServer (misc) (Closed)

Created:
5 years, 1 month ago by svaldez
Modified:
5 years ago
CC:
chromium-reviews, davidben+watch_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, maxbogue+watch_chromium.org, zea+watch_chromium.org, droger+watchlist_chromium.org, pvalenzuela+watch_chromium.org, tburkard+watch_chromium.org, grt+watch_chromium.org, sdefresne+watchlist_chromium.org, jam, plaree+watch_chromium.org, gavinp+prer_chromium.org, darin-cc_chromium.org, blundell+watchlist_chromium.org, chromium-apps-reviews_chromium.org, native-client-reviews_googlegroups.com, tim+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Migrating tests to use EmbeddedTestServer (misc) - Moving tests to use EmbeddedTestServer where possible. - net::test_server::EmbeddedTestServer references to net::EmbeddedTestServer - Using server.Start() instead of server.InitializeAndWaitUntilReady() - Renaming test_server() to be spawned_test_server() or embedded_test_server() - Enabling tests disabled due to SpawnedTestServer compatibility BUG=496825 TBR=brettw@chromium.org,jochen@chromium.org Committed: https://crrev.com/969a51186f89a385a8f5bd9ddc49f35dccf9cdd2 Cr-Commit-Position: refs/heads/master@{#360598}

Patch Set 1 #

Patch Set 2 : Adding missing headers. #

Patch Set 3 : Moving test files to appropriate CLs. #

Patch Set 4 : Rebase #

Patch Set 5 : Moving prerender test due to dependencies. #

Patch Set 6 : More test movement. #

Total comments: 18

Patch Set 7 : Fixing comments. #

Total comments: 10

Patch Set 8 : Fixing paths. #

Patch Set 9 : Fixing syntax. #

Patch Set 10 : Fix duplicate URL. #

Patch Set 11 : Rebase. #

Patch Set 12 : Fixing prerender rebase. #

Patch Set 13 : Fix broken rebase. #

Patch Set 14 : Fixing tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -208 lines) Patch
M chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +8 lines, -18 lines 0 comments Download
M chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc View 1 2 3 4 5 6 7 8 9 6 chunks +15 lines, -20 lines 0 comments Download
M chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 10 chunks +40 lines, -44 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc View 2 chunks +13 lines, -17 lines 0 comments Download
M chrome/test/base/in_process_browser_test.cc View 1 2 3 4 5 6 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/test/nacl/nacl_browsertest_util.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/test/nacl/nacl_browsertest_util.cc View 2 3 4 5 6 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/test/nacl/pnacl_header_test.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/test/perf/mach_ports_performancetest.cc View 3 chunks +5 lines, -7 lines 0 comments Download
M chrome/test/ppapi/ppapi_filechooser_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/ppapi/ppapi_test.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/ppapi/ppapi_test.cc View 1 2 3 4 5 6 5 chunks +18 lines, -29 lines 0 comments Download
M components/cronet/android/test/native_test_server.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -7 lines 0 comments Download
M components/dom_distiller/content/browser/distillable_page_utils_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/dom_distiller/content/browser/test/dom_distiller_js_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/html_viewer/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M components/html_viewer/ax_provider_apptest.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M components/html_viewer/html_frame_apptest.cc View 8 chunks +10 lines, -10 lines 0 comments Download
M components/search_engines/template_url_fetcher_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M extensions/browser/api/sockets_tcp_server/sockets_tcp_server_apitest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/guest_view/web_view/web_view_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M google_apis/drive/base_requests_server_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M google_apis/drive/base_requests_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M google_apis/drive/drive_api_requests_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M google_apis/drive/files_list_request_runner_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M sync/internal_api/attachments/attachment_uploader_impl_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M sync/internal_api/http_bridge_unittest.cc View 9 chunks +10 lines, -12 lines 0 comments Download

Messages

Total messages: 33 (15 generated)
svaldez
5 years, 1 month ago (2015-11-02 19:09:14 UTC) #2
svaldez
Rebase
5 years, 1 month ago (2015-11-03 22:05:57 UTC) #3
davidben
c/b/prerender lgtm (Did you want me to look at other bits? I don't have the ...
5 years, 1 month ago (2015-11-04 00:04:24 UTC) #4
mmenke
Looks good. https://codereview.chromium.org/1431653003/diff/100001/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc File chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc (right): https://codereview.chromium.org/1431653003/diff/100001/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc#newcode159 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc:159: // TODO(ajwong): Merge this into BrowserTestBase. Can ...
5 years, 1 month ago (2015-11-05 17:38:13 UTC) #5
mmenke
Also, looks like this CL breaks PPAPIFileChooserTestWithSBService.FileChooser_SaveAs_DangerousExecutable_Whitelist somehow.
5 years, 1 month ago (2015-11-05 17:39:28 UTC) #6
svaldez
I believe the crash is a result of missing chrome/browser files. https://codereview.chromium.org/1431653003/diff/100001/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc File chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc (right): ...
5 years, 1 month ago (2015-11-05 18:15:56 UTC) #7
mmenke
LGTM https://codereview.chromium.org/1431653003/diff/120001/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc File chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc (right): https://codereview.chromium.org/1431653003/diff/120001/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc#newcode204 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc:204: return embedded_test_server_->Start(); Per comment in other file, can ...
5 years, 1 month ago (2015-11-05 18:21:03 UTC) #8
svaldez
https://codereview.chromium.org/1431653003/diff/120001/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc File chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc (right): https://codereview.chromium.org/1431653003/diff/120001/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc#newcode204 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc:204: return embedded_test_server_->Start(); On 2015/11/05 18:21:03, mmenke wrote: > Per ...
5 years, 1 month ago (2015-11-05 18:34:51 UTC) #9
svaldez
On 2015/11/05 18:34:51, svaldez wrote: > https://codereview.chromium.org/1431653003/diff/120001/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc > File chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc > (right): > > https://codereview.chromium.org/1431653003/diff/120001/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc#newcode204 ...
5 years, 1 month ago (2015-11-11 15:25:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1431653003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1431653003/200001
5 years, 1 month ago (2015-11-18 18:23:32 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/119836)
5 years, 1 month ago (2015-11-18 18:42:22 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1431653003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1431653003/220001
5 years, 1 month ago (2015-11-18 19:12:09 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/142571) win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, ...
5 years, 1 month ago (2015-11-18 20:01:21 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1431653003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1431653003/240001
5 years, 1 month ago (2015-11-18 22:19:51 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/142746)
5 years, 1 month ago (2015-11-18 23:16:17 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1431653003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1431653003/260001
5 years, 1 month ago (2015-11-19 15:35:41 UTC) #29
commit-bot: I haz the power
Committed patchset #14 (id:260001)
5 years, 1 month ago (2015-11-19 16:27:40 UTC) #30
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 16:28:23 UTC) #31
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/969a51186f89a385a8f5bd9ddc49f35dccf9cdd2
Cr-Commit-Position: refs/heads/master@{#360598}

Powered by Google App Engine
This is Rietveld 408576698