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

Issue 1411073005: Migrating tests to use EmbeddedTestServer (/content) (Closed)

Created:
5 years, 1 month ago by svaldez
Modified:
5 years, 1 month ago
Reviewers:
mmenke, davidben
CC:
chromium-reviews, asanka, serviceworker-reviews, qsr+mojo_chromium.org, zea+watch_chromium.org, tzik, phoglund+watch_chromium.org, nasko+codewatch_chromium.org, yzshen+watch_chromium.org, dgrogan, dmazzoni+watch_chromium.org, kinuko+watch, ben+mojo_chromium.org, tim+watch_chromium.org, jsbell+serviceworker_chromium.org, aboxhall+watch_chromium.org, viettrungluu+watch_chromium.org, jam, abarth-chromium, pvalenzuela+watch_chromium.org, je_julie, darin-cc_chromium.org, jkarlin+watch_chromium.org, devtools-reviews_chromium.org, loading-reviews_chromium.org, kinuko+serviceworker, tnakamura+watch_chromium.org, blink-worker-reviews_chromium.org, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, dtseng+watch_chromium.org, yuzo+watch_chromium.org, feature-media-reviews_chromium.org, nhiroki, jsbell+idb_chromium.org, mlamouri+watch-manifest_chromium.org, michaeln, plundblad+watch_chromium.org, maxbogue+watch_chromium.org, nektar+watch_chromium.org, Aaron Boodman, plaree+watch_chromium.org, cmumford, mkwst+moarreviews-renderer_chromium.org, horo+watch_chromium.org, darin (slow to review), pfeldman
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 (/content) - 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 Committed: https://crrev.com/c3a9a1736ca602c624d7b2aaff555bd3ebf9f64b Cr-Commit-Position: refs/heads/master@{#357645}

Patch Set 1 #

Total comments: 22

Patch Set 2 : Adding missing headers. #

Total comments: 2

Patch Set 3 : Removing unused header. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+387 lines, -443 lines) Patch
M content/browser/accessibility/site_per_process_accessibility_browsertest.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/background_sync/background_sync_browsertest.cc View 4 chunks +6 lines, -7 lines 0 comments Download
M content/browser/browser_side_navigation_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/cross_site_transfer_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/protocol/devtools_protocol_browsertest.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M content/browser/devtools/site_per_process_devtools_browsertest.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M content/browser/download/download_browsertest.cc View 1 21 chunks +53 lines, -56 lines 0 comments Download
M content/browser/download/mhtml_generation_browsertest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/download/save_package_browsertest.cc View 1 3 chunks +6 lines, -7 lines 0 comments Download
M content/browser/frame_host/frame_tree_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_manager_browsertest.cc View 13 chunks +24 lines, -23 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/async_resource_handler_browsertest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/loader/cross_site_resource_handler_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/resource_dispatcher_host_browsertest.cc View 12 chunks +12 lines, -12 lines 0 comments Download
M content/browser/manifest/manifest_browsertest.cc View 10 chunks +22 lines, -25 lines 0 comments Download
M content/browser/media/media_browsertest.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/media/media_browsertest.cc View 2 chunks +5 lines, -7 lines 0 comments Download
M content/browser/media/webrtc_audio_debug_recordings_browsertest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/media/webrtc_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/webrtc_getusermedia_browsertest.cc View 1 2 3 25 chunks +25 lines, -25 lines 0 comments Download
M content/browser/media/webrtc_internals_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/webrtc_webcam_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc View 1 2 3 6 chunks +7 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_message_filter_browsertest.cc View 3 chunks +5 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_process_host_browsertest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_view_host_browsertest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M content/browser/security_exploit_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_browsertest.cc View 2 chunks +5 lines, -8 lines 0 comments Download
M content/browser/session_history_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/shared_worker/worker_browsertest.cc View 4 chunks +20 lines, -18 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 14 chunks +41 lines, -51 lines 0 comments Download
M content/browser/web_contents/opened_by_dom_browsertest.cc View 3 chunks +11 lines, -11 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_browsertest.cc View 15 chunks +21 lines, -23 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura_browsertest.cc View 1 2 3 14 chunks +27 lines, -35 lines 0 comments Download
M content/browser/webkit_browsertest.cc View 1 4 chunks +10 lines, -11 lines 0 comments Download
M content/browser/webui/web_ui_mojo_browsertest.cc View 1 3 chunks +5 lines, -4 lines 0 comments Download
M content/child/site_isolation_stats_gatherer_browsertest.cc View 1 5 chunks +7 lines, -29 lines 0 comments Download
M content/public/test/browser_test_utils.h View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M content/public/test/browser_test_utils.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/browser_render_view_browsertest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/resource_fetcher_browsertest.cc View 1 8 chunks +13 lines, -13 lines 0 comments Download
M content/test/browser_test_utils_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/cross_site_document_request.html View 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/cross_site_document_request_target.html View 2 chunks +7 lines, -7 lines 0 comments Download
M content/test/data/cross_site_iframe_factory.html View 1 chunk +1 line, -1 line 0 comments Download
M content/test/ppapi/ppapi_test.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/test/test_blink_web_unit_test_support.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17 (6 generated)
svaldez
5 years, 1 month ago (2015-11-02 19:09:26 UTC) #2
mmenke
https://codereview.chromium.org/1411073005/diff/1/content/browser/accessibility/site_per_process_accessibility_browsertest.cc File content/browser/accessibility/site_per_process_accessibility_browsertest.cc (right): https://codereview.chromium.org/1411073005/diff/1/content/browser/accessibility/site_per_process_accessibility_browsertest.cc#newcode72 content/browser/accessibility/site_per_process_accessibility_browsertest.cc:72: GURL main_url(embedded_test_server()->GetURL("/site_per_process_main.html")); Should include embedded_test_server.h. https://codereview.chromium.org/1411073005/diff/1/content/browser/download/download_browsertest.cc File content/browser/download/download_browsertest.cc (right): ...
5 years, 1 month ago (2015-11-03 19:12:57 UTC) #3
svaldez
https://codereview.chromium.org/1411073005/diff/1/content/browser/accessibility/site_per_process_accessibility_browsertest.cc File content/browser/accessibility/site_per_process_accessibility_browsertest.cc (right): https://codereview.chromium.org/1411073005/diff/1/content/browser/accessibility/site_per_process_accessibility_browsertest.cc#newcode72 content/browser/accessibility/site_per_process_accessibility_browsertest.cc:72: GURL main_url(embedded_test_server()->GetURL("/site_per_process_main.html")); On 2015/11/03 19:12:57, mmenke wrote: > Should ...
5 years, 1 month ago (2015-11-03 19:33:16 UTC) #4
mmenke
LGTM
5 years, 1 month ago (2015-11-03 19:34:06 UTC) #5
davidben
lgtm https://codereview.chromium.org/1411073005/diff/20001/content/public/test/browser_test_utils.h File content/public/test/browser_test_utils.h (right): https://codereview.chromium.org/1411073005/diff/20001/content/public/test/browser_test_utils.h#newcode44 content/public/test/browser_test_utils.h:44: } Now that you've included the header, there's ...
5 years, 1 month ago (2015-11-03 19:51:33 UTC) #6
mmenke
https://codereview.chromium.org/1411073005/diff/20001/content/public/test/browser_test_utils.h File content/public/test/browser_test_utils.h (right): https://codereview.chromium.org/1411073005/diff/20001/content/public/test/browser_test_utils.h#newcode44 content/public/test/browser_test_utils.h:44: } On 2015/11/03 19:51:33, davidben wrote: > Now that ...
5 years, 1 month ago (2015-11-03 20:03:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411073005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411073005/40001
5 years, 1 month ago (2015-11-03 20:11:08 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/118314) mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 1 month ago (2015-11-03 20:17:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411073005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411073005/60001
5 years, 1 month ago (2015-11-03 20:37:12 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-03 22:01:44 UTC) #16
commit-bot: I haz the power
5 years, 1 month ago (2015-11-03 22:02:50 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c3a9a1736ca602c624d7b2aaff555bd3ebf9f64b
Cr-Commit-Position: refs/heads/master@{#357645}

Powered by Google App Engine
This is Rietveld 408576698