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

Issue 720373003: Add FakeClipboard implementation for unit tests. (Closed)

Created:
6 years, 1 month ago by dcheng
Modified:
6 years, 1 month ago
Reviewers:
sky
CC:
dcheng, Andre, chromium-reviews, garykac, raymes
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add TestClipboard implementation for unit tests. BUG=319285 Committed: https://crrev.com/dd4f545ea9d92615328e39aa24254f1e01144083 Cr-Commit-Position: refs/heads/master@{#304688}

Patch Set 1 #

Patch Set 2 : Minor adjustments #

Patch Set 3 : . #

Patch Set 4 : Fix build #

Patch Set 5 : One more fix... #

Total comments: 10

Patch Set 6 : Address comments and CrOS #

Patch Set 7 : Fix Windows #

Patch Set 8 : Fix Windows (no copies) #

Patch Set 9 : Move test template into own header, fix HTML tests on other platforms #

Patch Set 10 : Fix Android and everything else. Maybe. #

Patch Set 11 : WINDOWS!!! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+509 lines, -1010 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M ui/base/clipboard/clipboard.h View 1 2 3 4 5 6 7 8 5 chunks +18 lines, -3 lines 0 comments Download
M ui/base/clipboard/clipboard.cc View 4 chunks +15 lines, -26 lines 0 comments Download
M ui/base/clipboard/clipboard_android.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/clipboard_android.cc View 1 2 3 4 5 4 chunks +12 lines, -1 line 0 comments Download
A ui/base/clipboard/clipboard_android_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +91 lines, -0 lines 0 comments Download
M ui/base/clipboard/clipboard_aura.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/clipboard_aura.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/clipboard_aurax11.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/clipboard_aurax11.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/clipboard_mac.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/clipboard_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
A + ui/base/clipboard/clipboard_test_template.h View 1 2 3 4 5 6 7 8 9 10 16 chunks +92 lines, -151 lines 0 comments Download
M ui/base/clipboard/clipboard_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -798 lines 0 comments Download
M ui/base/clipboard/clipboard_win.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/clipboard_win.cc View 1 chunk +1 line, -1 line 0 comments Download
A + ui/base/test/test_clipboard.h View 1 2 3 4 5 6 7 8 2 chunks +31 lines, -22 lines 0 comments Download
A ui/base/test/test_clipboard.cc View 1 2 3 4 5 6 7 8 1 chunk +201 lines, -0 lines 0 comments Download
A ui/base/test/test_clipboard_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +27 lines, -0 lines 0 comments Download
M ui/base/ui_base.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ui/base/ui_base_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
dcheng
6 years, 1 month ago (2014-11-14 01:06:15 UTC) #2
sky
LGTM with a better name. https://codereview.chromium.org/720373003/diff/80001/ui/base/clipboard/clipboard.h File ui/base/clipboard/clipboard.h (right): https://codereview.chromium.org/720373003/diff/80001/ui/base/clipboard/clipboard.h#newcode191 ui/base/clipboard/clipboard.h:191: // Testing helper to ...
6 years, 1 month ago (2014-11-14 02:10:31 UTC) #3
dcheng
https://codereview.chromium.org/720373003/diff/80001/ui/base/clipboard/clipboard.h File ui/base/clipboard/clipboard.h (right): https://codereview.chromium.org/720373003/diff/80001/ui/base/clipboard/clipboard.h#newcode191 ui/base/clipboard/clipboard.h:191: // Testing helper to Replace any clipboard for the ...
6 years, 1 month ago (2014-11-14 03:30:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/720373003/100001
6 years, 1 month ago (2014-11-14 03:31:54 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg/builds/34091)
6 years, 1 month ago (2014-11-14 04:17:13 UTC) #8
dcheng
PTAL. I had to make a few changes to make things happy. 1) I moved ...
6 years, 1 month ago (2014-11-17 20:09:55 UTC) #9
sky
LGTM
6 years, 1 month ago (2014-11-17 20:35:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/720373003/200001
6 years, 1 month ago (2014-11-18 22:09:24 UTC) #12
commit-bot: I haz the power
Committed patchset #11 (id:200001)
6 years, 1 month ago (2014-11-18 22:58:24 UTC) #13
commit-bot: I haz the power
6 years, 1 month ago (2014-11-18 22:59:10 UTC) #14
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/dd4f545ea9d92615328e39aa24254f1e01144083
Cr-Commit-Position: refs/heads/master@{#304688}

Powered by Google App Engine
This is Rietveld 408576698