|
|
Chromium Code Reviews|
Created:
3 years, 11 months ago by EhsanK Modified:
3 years, 11 months ago Reviewers:
Charlie Reis CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, James Su, site_isolation_reviews_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionAdding a unit test to RenderWidgetHostViewAura
This CL adds a test similar to
InputMethodMacTest.ImeCancelCompositionForAllViews for Aura.
BUG=602723
Review-Url: https://codereview.chromium.org/2643503002
Cr-Commit-Position: refs/heads/master@{#444176}
Committed: https://chromium.googlesource.com/chromium/src/+/df66adcb39e831a54a35a795baf7267c9a3925f5
Patch Set 1 #
Total comments: 3
Messages
Total messages: 15 (8 generated)
ekaramad@chromium.org changed reviewers: + creis@chromium.org
Charlie, This is the missing test (from Aura) we talked about in https://codereview.chromium.org/2613263002/. PTAL. Thanks.
The CQ bit was checked by ekaramad@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Thanks! LGTM with nit. https://codereview.chromium.org/2643503002/diff/1/content/browser/renderer_ho... File content/browser/renderer_host/render_widget_host_view_aura_unittest.cc (right): https://codereview.chromium.org/2643503002/diff/1/content/browser/renderer_ho... content/browser/renderer_host/render_widget_host_view_aura_unittest.cc:4762: view->ImeCancelComposition(); nit: Put EXPECT_TRUE(has_composition_text()) before this line?
PTAL. https://codereview.chromium.org/2643503002/diff/1/content/browser/renderer_ho... File content/browser/renderer_host/render_widget_host_view_aura_unittest.cc (right): https://codereview.chromium.org/2643503002/diff/1/content/browser/renderer_ho... content/browser/renderer_host/render_widget_host_view_aura_unittest.cc:4762: view->ImeCancelComposition(); On 2017/01/17 22:31:38, Charlie Reis wrote: > nit: Put EXPECT_TRUE(has_composition_text()) before this line? It will definitely help with readability of the test. But we already have the same expect inside SetHasCompositionTextToTrue(). Is it still recommended to put the same one here as well?
https://codereview.chromium.org/2643503002/diff/1/content/browser/renderer_ho... File content/browser/renderer_host/render_widget_host_view_aura_unittest.cc (right): https://codereview.chromium.org/2643503002/diff/1/content/browser/renderer_ho... content/browser/renderer_host/render_widget_host_view_aura_unittest.cc:4762: view->ImeCancelComposition(); On 2017/01/17 22:45:47, EhsanK wrote: > On 2017/01/17 22:31:38, Charlie Reis wrote: > > nit: Put EXPECT_TRUE(has_composition_text()) before this line? > > It will definitely help with readability of the test. But we already have the > same expect inside SetHasCompositionTextToTrue(). Is it still recommended to put > the same one here as well? Oh, I didn't see that before. It's ok as is then.
Thanks Charlie! CQ-ing now.
The CQ bit was checked by ekaramad@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 1, "attempt_start_ts": 1484693547532820, "parent_rev":
"1b769b1c19470c4df1b369bd4ebfeb40afc4dc3d", "commit_rev":
"df66adcb39e831a54a35a795baf7267c9a3925f5"}
Message was sent while issue was closed.
Description was changed from ========== Adding a unit test to RenderWidgetHostViewAura This CL adds a test similar to InputMethodMacTest.ImeCancelCompositionForAllViews for Aura. BUG=602723 ========== to ========== Adding a unit test to RenderWidgetHostViewAura This CL adds a test similar to InputMethodMacTest.ImeCancelCompositionForAllViews for Aura. BUG=602723 Review-Url: https://codereview.chromium.org/2643503002 Cr-Commit-Position: refs/heads/master@{#444176} Committed: https://chromium.googlesource.com/chromium/src/+/df66adcb39e831a54a35a795baf7... ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/df66adcb39e831a54a35a795baf7... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
