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

Issue 2772513003: Makes AshTestHelper shutdown ChromeOS NetworkHandler (Closed)

Created:
3 years, 9 months ago by sky
Modified:
3 years, 9 months ago
Reviewers:
James Cook
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Makes AshTestHelper shutdown ChromeOS NetworkHandler Classic ash unittests don't run with the NetworkHandler running. To run with the NetworkHandler triggers additional items on the tray, which tests are not setup to deal correctly with. BUG=695751, 696769 TEST=test only changes R=jamescook@chromium.org Review-Url: https://codereview.chromium.org/2772513003 Cr-Commit-Position: refs/heads/master@{#458927} Committed: https://chromium.googlesource.com/chromium/src/+/eeccd7ee07f0c25c2de9b9ab4c176ac0b3441e69

Patch Set 1 #

Total comments: 1

Patch Set 2 : boolean #

Patch Set 3 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -47 lines) Patch
M ash/mus/test/wm_test_helper.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M ash/mus/window_manager_application.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M ash/mus/window_manager_application.cc View 1 5 chunks +12 lines, -6 lines 0 comments Download
M ash/shelf/shelf_view_unittest.cc View 9 chunks +0 lines, -37 lines 0 comments Download
M ash/test/ash_test_helper.cc View 1 2 3 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 15 (8 generated)
sky
3 years, 9 months ago (2017-03-22 21:59:34 UTC) #1
James Cook
https://codereview.chromium.org/2772513003/diff/1/ash/test/ash_test_helper.cc File ash/test/ash_test_helper.cc (right): https://codereview.chromium.org/2772513003/diff/1/ash/test/ash_test_helper.cc#newcode307 ash/test/ash_test_helper.cc:307: chromeos::NetworkHandler::Shutdown(); Rather than doing this, how about passing a ...
3 years, 9 months ago (2017-03-22 22:27:22 UTC) #4
James Cook
On 2017/03/22 22:27:22, James Cook wrote: > https://codereview.chromium.org/2772513003/diff/1/ash/test/ash_test_helper.cc > File ash/test/ash_test_helper.cc (right): > > https://codereview.chromium.org/2772513003/diff/1/ash/test/ash_test_helper.cc#newcode307 ...
3 years, 9 months ago (2017-03-22 22:27:41 UTC) #5
sky
I went with the boolean indicating if NetworkHandler should be initialized.
3 years, 9 months ago (2017-03-22 22:41:23 UTC) #6
James Cook
LGTM
3 years, 9 months ago (2017-03-22 22:42:42 UTC) #9
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/2772513003/40001
3 years, 9 months ago (2017-03-22 22:46:53 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 23:25:10 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/eeccd7ee07f0c25c2de9b9ab4c17...

Powered by Google App Engine
This is Rietveld 408576698