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

Issue 11778045: Add test for accessibility histograms. (Closed)

Created:
7 years, 11 months ago by dmazzoni
Modified:
7 years, 11 months ago
Reviewers:
Zachary Kuznia, Jói
CC:
chromium-reviews, hashimoto+watch_chromium.org, aboxhall+watch_chromium.org, jam, yoshiki+watch_chromium.org, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, ctguil+watch_chromium.org, zork+watch_chromium.org
Visibility:
Public.

Description

Add test for accessibility histograms. The goal is just to make sure this code has test coverage, not to test correctness. There was an issue in the past where the code that computed the histograms crashed in debug mode, this will help prevent something like that from landing in the future. BUG=99504 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175677

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make UpdateHistograms private, add comment about content vs chrome #

Total comments: 4

Patch Set 3 : Removed extraneous comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -7 lines) Patch
A chrome/browser/accessibility/browser_accessibility_state_browsertest.cc View 1 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_state_impl.h View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_state_impl.cc View 1 3 chunks +8 lines, -4 lines 0 comments Download
M content/public/browser/browser_accessibility_state.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
dmazzoni
7 years, 11 months ago (2013-01-08 20:10:42 UTC) #1
Jói
+jam I think the right approach here might be to move the UMAHistogramHelper test helper ...
7 years, 11 months ago (2013-01-08 20:44:59 UTC) #2
dmazzoni
On 2013/01/08 20:44:59, Jói wrote: > +jam > > I think the right approach here ...
7 years, 11 months ago (2013-01-08 22:39:51 UTC) #3
Jói
LGTM https://codereview.chromium.org/11778045/diff/1006/content/browser/accessibility/browser_accessibility_state_impl.h File content/browser/accessibility/browser_accessibility_state_impl.h (right): https://codereview.chromium.org/11778045/diff/1006/content/browser/accessibility/browser_accessibility_state_impl.h#newcode59 content/browser/accessibility/browser_accessibility_state_impl.h:59: // This method is public only for testing! ...
7 years, 11 months ago (2013-01-08 23:14:14 UTC) #4
dmazzoni
https://codereview.chromium.org/11778045/diff/1006/content/browser/accessibility/browser_accessibility_state_impl.h File content/browser/accessibility/browser_accessibility_state_impl.h (right): https://codereview.chromium.org/11778045/diff/1006/content/browser/accessibility/browser_accessibility_state_impl.h#newcode59 content/browser/accessibility/browser_accessibility_state_impl.h:59: // This method is public only for testing! On ...
7 years, 11 months ago (2013-01-08 23:32:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/11778045/8001
7 years, 11 months ago (2013-01-09 00:04:52 UTC) #6
commit-bot: I haz the power
7 years, 11 months ago (2013-01-09 02:33:30 UTC) #7
Message was sent while issue was closed.
Change committed as 175677

Powered by Google App Engine
This is Rietveld 408576698