Chromium Code Reviews
Help | Chromium Project | Sign in
(2)

Issue 2856091: Fix some problems with TaskManagerBrowserTest.PopulateWebCacheFields: (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 9 months ago by Paweł Hajdan Jr.
Modified:
4 years ago
Reviewers:
jamesr, Jay Civelli
CC:
chromium-reviews, Paweł Hajdan Jr., ben+cc_chromium.org
Visibility:
Public.

Description

Fix some problems with TaskManagerBrowserTest.PopulateWebCacheFields: - wait for an actual update to occur; otherwise we're not testing the real thing - change DCHECKs to EXPECT_EQs; that's what we should use in tests This change should also fix the crashiness of this test. TEST=browser_tests BUG=42301 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55449

Patch Set 1 #

Total comments: 4

Patch Set 2 : memset #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -18 lines) Patch
M chrome/browser/task_manager.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/task_manager.cc View 1 6 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/task_manager_browsertest.cc View 3 chunks +13 lines, -6 lines 0 comments Download
M chrome/browser/task_manager_resource_providers.h View 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/task_manager_resource_providers.cc View 1 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/common/notification_type.h View 1 chunk +6 lines, -0 lines 0 comments Download
Commit: CQ not working?

Messages

Total messages: 6 (0 generated)
Paweł Hajdan Jr.
4 years, 9 months ago (2010-08-05 20:49:58 UTC) #1
Jay Civelli
http://codereview.chromium.org/2856091/diff/1/5 File chrome/browser/task_manager_resource_providers.cc (left): http://codereview.chromium.org/2856091/diff/1/5#oldcode64 chrome/browser/task_manager_resource_providers.cc:64: stats_.images.size = 0; Why aren't we initializing these anymore?
4 years, 9 months ago (2010-08-05 22:05:47 UTC) #2
Paweł Hajdan Jr.
http://codereview.chromium.org/2856091/diff/1/5 File chrome/browser/task_manager_resource_providers.cc (left): http://codereview.chromium.org/2856091/diff/1/5#oldcode64 chrome/browser/task_manager_resource_providers.cc:64: stats_.images.size = 0; On 2010/08/05 22:05:47, Jay Civelli wrote: ...
4 years, 9 months ago (2010-08-05 22:16:03 UTC) #3
Jay Civelli
I see. (But if that code was to be erroneously changed in the future we ...
4 years, 9 months ago (2010-08-06 00:17:26 UTC) #4
jamesr
http://codereview.chromium.org/2856091/diff/1/4 File chrome/browser/task_manager_browsertest.cc (right): http://codereview.chromium.org/2856091/diff/1/4#newcode258 chrome/browser/task_manager_browsertest.cc:258: // This way at least one of them must ...
4 years, 9 months ago (2010-08-06 18:29:40 UTC) #5
jamesr
4 years, 9 months ago (2010-08-06 18:54:53 UTC) #6
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be