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

Issue 690613003: Adding Unit Test Coverage for Select Action Bar Cut, Paste, Select All options (Closed)

Created:
6 years, 1 month ago by AKVT
Modified:
6 years, 1 month ago
Reviewers:
jdduke (slow)
CC:
chromium-reviews, darin-cc_chromium.org, jam, aurimas (slooooooooow)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adding Select Action Bar Cut, Paste and Select All Unit Test cases. Select Action Bar is not having enough unit test coverage. This change takes care of adding required unit test case for Cut, Paste and Select All operation. Committed: https://crrev.com/cc152a1057f3c1005d46dadc7d5042b03527dc72 Cr-Commit-Position: refs/heads/master@{#303256}

Patch Set 1 #

Patch Set 2 : Removed unwanted API. #

Total comments: 1

Patch Set 3 : Added Paste Test cases. #

Total comments: 9

Patch Set 4 : Fixed review comments. #

Patch Set 5 : Rearranged the HTML to escape from flaky failure. #

Total comments: 2

Patch Set 6 : Adjusted the content and removed ambigous comment. #

Patch Set 7 : Changed the test content to prevent flaky failures. #

Patch Set 8 : Refactored the HTML content to prevent flaky failures. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -14 lines) Patch
M content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java View 1 2 3 4 5 6 7 11 chunks +239 lines, -14 lines 1 comment Download

Messages

Total messages: 34 (5 generated)
AKVT
@jdduke PTAL
6 years, 1 month ago (2014-10-29 14:48:42 UTC) #2
AKVT
@jdduke PTAL this change.
6 years, 1 month ago (2014-10-30 17:41:33 UTC) #3
jdduke (slow)
https://codereview.chromium.org/690613003/diff/20001/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/690613003/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java#newcode404 content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java:404: public void testSelectActionBarTextAreaSelectAll() throws Exception { Do you have ...
6 years, 1 month ago (2014-10-30 17:48:31 UTC) #4
AKVT
On 2014/10/30 17:48:31, jdduke wrote: > https://codereview.chromium.org/690613003/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java > File > content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java > (right): > > ...
6 years, 1 month ago (2014-10-30 17:51:42 UTC) #5
jdduke (slow)
On 2014/10/30 17:51:42, AKV wrote: > On 2014/10/30 17:48:31, jdduke wrote: > > > https://codereview.chromium.org/690613003/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java ...
6 years, 1 month ago (2014-10-30 18:54:21 UTC) #6
AKVT
@jdduke PTAL. I have covered all I planned for this feature.
6 years, 1 month ago (2014-10-31 17:19:50 UTC) #7
jdduke (slow)
https://codereview.chromium.org/690613003/diff/40001/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/690613003/diff/40001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java#newcode397 content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java:397: assertWaitForSelectActionBarVisible(true); Don't you also want to assert that getSelectedText() ...
6 years, 1 month ago (2014-10-31 17:39:41 UTC) #8
AKVT
@jdduke please check my comments and share your opinion. https://codereview.chromium.org/690613003/diff/40001/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/690613003/diff/40001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java#newcode397 content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java:397: ...
6 years, 1 month ago (2014-10-31 17:52:09 UTC) #9
jdduke (slow)
lgtm https://codereview.chromium.org/690613003/diff/40001/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/690613003/diff/40001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java#newcode397 content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java:397: assertWaitForSelectActionBarVisible(true); On 2014/10/31 17:52:09, AKV wrote: > On ...
6 years, 1 month ago (2014-10-31 17:57:07 UTC) #10
AKVT
On 2014/10/31 17:57:07, jdduke wrote: > lgtm > > https://codereview.chromium.org/690613003/diff/40001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java > File > content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java > ...
6 years, 1 month ago (2014-10-31 17:59:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690613003/60001
6 years, 1 month ago (2014-10-31 18:01:18 UTC) #13
AKVT
On 2014/10/31 17:59:24, AKV wrote: > On 2014/10/31 17:57:07, jdduke wrote: > > lgtm > ...
6 years, 1 month ago (2014-10-31 18:29:10 UTC) #14
jdduke (slow)
On 2014/10/31 18:29:10, AKV wrote: > On 2014/10/31 17:59:24, AKV wrote: > > On 2014/10/31 ...
6 years, 1 month ago (2014-10-31 19:06:26 UTC) #15
AKVT
On 2014/10/31 19:06:26, jdduke wrote: > On 2014/10/31 18:29:10, AKV wrote: > > On 2014/10/31 ...
6 years, 1 month ago (2014-10-31 19:14:27 UTC) #16
AKVT
On 2014/10/31 19:14:27, AKV wrote: > On 2014/10/31 19:06:26, jdduke wrote: > > On 2014/10/31 ...
6 years, 1 month ago (2014-10-31 19:15:14 UTC) #17
AKVT
On 2014/10/31 19:15:14, AKV wrote: > On 2014/10/31 19:14:27, AKV wrote: > > On 2014/10/31 ...
6 years, 1 month ago (2014-10-31 19:25:54 UTC) #18
jdduke1
https://codereview.chromium.org/690613003/diff/80001/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/690613003/diff/80001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java#newcode455 content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java:455: // Paste option won't be there for Password, hence ...
6 years, 1 month ago (2014-11-03 17:39:33 UTC) #20
AKVT
https://codereview.chromium.org/690613003/diff/80001/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/690613003/diff/80001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java#newcode455 content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java:455: // Paste option won't be there for Password, hence ...
6 years, 1 month ago (2014-11-03 19:24:53 UTC) #21
AKVT
@jdduke PTAL PS6. Once you approve I will commit. Thank you
6 years, 1 month ago (2014-11-03 19:45:36 UTC) #22
jdduke (slow)
On 2014/11/03 19:45:36, AKV wrote: > @jdduke PTAL PS6. Once you approve I will commit. ...
6 years, 1 month ago (2014-11-03 19:54:33 UTC) #23
AKVT
On 2014/11/03 19:54:33, jdduke wrote: > On 2014/11/03 19:45:36, AKV wrote: > > @jdduke PTAL ...
6 years, 1 month ago (2014-11-03 19:57:10 UTC) #24
jdduke (slow)
On 2014/11/03 19:57:10, AKV wrote: > On 2014/11/03 19:54:33, jdduke wrote: > > On 2014/11/03 ...
6 years, 1 month ago (2014-11-03 20:00:13 UTC) #25
AKVT
On 2014/11/03 20:00:13, jdduke wrote: > On 2014/11/03 19:57:10, AKV wrote: > > On 2014/11/03 ...
6 years, 1 month ago (2014-11-05 16:13:44 UTC) #27
AKVT
@jdduke PTAL. I have corrected the flaky failures with adjustment in content as well as ...
6 years, 1 month ago (2014-11-07 17:11:34 UTC) #28
jdduke (slow)
lgtm https://codereview.chromium.org/690613003/diff/140001/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/690613003/diff/140001/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java#newcode35 content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreSelectionTest.java:35: + "<br/><p><span id=\"plain_text_1\">SamplePlainTextOne</span></p>" Interesting, I wonder if the ...
6 years, 1 month ago (2014-11-07 17:14:34 UTC) #29
jdduke (slow)
lgtm
6 years, 1 month ago (2014-11-07 17:14:37 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690613003/140001
6 years, 1 month ago (2014-11-07 17:17:57 UTC) #32
commit-bot: I haz the power
Committed patchset #8 (id:140001)
6 years, 1 month ago (2014-11-07 18:09:52 UTC) #33
commit-bot: I haz the power
6 years, 1 month ago (2014-11-07 18:10:36 UTC) #34
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/cc152a1057f3c1005d46dadc7d5042b03527dc72
Cr-Commit-Position: refs/heads/master@{#303256}

Powered by Google App Engine
This is Rietveld 408576698