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

Issue 2861503003: Isolate tests that initialize ServiceManagerConnection (Closed)

Created:
3 years, 7 months ago by olegmax
Modified:
3 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Isolate tests that initialize ServiceManagerConnection Some unit tests initialize ServiceManagerConnection and leave it initialized (e.g. in RenderProcessHostImpl::InitializeChannelProxy). On the other hand, tests that use TestServiceManagerContext/ServiceManagerContext expect ServiceManagerConnection to be unitialized on test start or DCHECK(!g_connection_for_process.Get()) fails. Change to explicitly uninitialize ServiceManagerConnection on creation of TestServiceManagerContext. BUG=717928, 697217 Review-Url: https://codereview.chromium.org/2861503003 Cr-Commit-Position: refs/heads/master@{#471696} Committed: https://chromium.googlesource.com/chromium/src/+/5ffddc43be38516f89c6c631872285324778eb39

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M content/public/test/test_service_manager_context.cc View 1 chunk +8 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
olegmax
3 years, 7 months ago (2017-05-03 10:48:55 UTC) #3
Ken Rockot(use gerrit already)
lgtm
3 years, 7 months ago (2017-05-03 17:41:49 UTC) #5
Paweł Hajdan Jr.
LGTM
3 years, 7 months ago (2017-05-05 17:29:36 UTC) #11
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/2861503003/1
3 years, 7 months ago (2017-05-15 07:08:29 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 08:26:35 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/5ffddc43be38516f89c6c6318722...

Powered by Google App Engine
This is Rietveld 408576698