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

Issue 305093002: views: Make BookmarkBarViewTest12.CloseWithModalDialog more predictable. (Closed)

Created:
6 years, 6 months ago by sadrul
Modified:
6 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

views: Make BookmarkBarViewTest12.CloseWithModalDialog more predictable. The test currently depends on timers in a few places. Replace those with more deterministic behaviour by using the appropriate observers to make sure that the message-box dialog shows up, the dialog receives the tab key event, and the dialog is terminated correctly. BUG=none R=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273716

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -27 lines) Patch
M chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc View 4 chunks +170 lines, -27 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
sadrul
6 years, 6 months ago (2014-05-30 01:38:09 UTC) #1
sky
LGTM
6 years, 6 months ago (2014-05-30 02:36:49 UTC) #2
sadrul
6 years, 6 months ago (2014-05-30 05:20:21 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r273716 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698