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

Issue 534343002: Adding Paste Popup behavior Unit Test cases. (Closed)

Created:
6 years, 3 months ago by AKVT
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adding Paste Popup behavior Unit Test cases. Currently there is not enough unit test cases available to cover the functionality of Paste Popup menu behavior. This patch covers essential unit test cases for the same. BUG= Committed: https://crrev.com/29b711e2bf98d6cf1ce99541f3d47bda33acb32f Cr-Commit-Position: refs/heads/master@{#293222}

Patch Set 1 #

Patch Set 2 : Realigned the test cases. #

Total comments: 2

Patch Set 3 : Fixed review comments and moved the UTs to ContentViewCoreSelectionTest.java #

Patch Set 4 : Corrected the UT by ciopying text to Clpiboard. #

Total comments: 2

Patch Set 5 : Fixed the nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -0 lines) Patch
M content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java View 1 2 3 4 3 chunks +72 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
AKVT
@jdduke & aurima PTAL. Added more unit test cases for Paste Popup menu behavior.
6 years, 3 months ago (2014-09-03 17:36:24 UTC) #2
jdduke (slow)
https://codereview.chromium.org/534343002/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/534343002/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode248 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:248: DOMUtils.focusNode(mContentViewCore, "input_text"); This behavior is only tangentially related to ...
6 years, 3 months ago (2014-09-03 18:08:07 UTC) #3
AKVT
@jdduke PTAL https://codereview.chromium.org/534343002/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/534343002/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode248 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:248: DOMUtils.focusNode(mContentViewCore, "input_text"); On 2014/09/03 18:08:07, jdduke wrote: ...
6 years, 3 months ago (2014-09-03 19:23:17 UTC) #4
AKVT
@jdduke PS4 is best to review.
6 years, 3 months ago (2014-09-03 19:26:16 UTC) #5
jdduke (slow)
Thanks, lgtm with one nit. https://codereview.chromium.org/534343002/diff/60001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java File content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java (right): https://codereview.chromium.org/534343002/diff/60001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java#newcode47 content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java:47: assertWaitForSelectActionBarStatus(false); Maybe add a ...
6 years, 3 months ago (2014-09-03 19:30:28 UTC) #6
AKVT
Thanks. Done https://codereview.chromium.org/534343002/diff/60001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java File content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java (right): https://codereview.chromium.org/534343002/diff/60001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java#newcode47 content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java:47: assertWaitForSelectActionBarStatus(false); On 2014/09/03 19:30:28, jdduke wrote: > ...
6 years, 3 months ago (2014-09-03 19:32:50 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajith.v@samsung.com/534343002/80001
6 years, 3 months ago (2014-09-03 19:55:47 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001) as 09a5dabaa2016563444e14738bd507d9857023fa
6 years, 3 months ago (2014-09-03 23:42:45 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:28:35 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/29b711e2bf98d6cf1ce99541f3d47bda33acb32f
Cr-Commit-Position: refs/heads/master@{#293222}

Powered by Google App Engine
This is Rietveld 408576698