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

Issue 2100893002: Add tests for InputDevice/TouchscreenDevice StructTraits. (Closed)

Created:
4 years, 5 months ago by kylechar
Modified:
4 years, 5 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, tdresser+watch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add tests for InputDevice/TouchscreenDevice StructTraits. Add test to ensure serialization/deserialization produces unchanged InputDevice and TouchScreenDevice objects. BUG=601981 Committed: https://crrev.com/b9e61b4b1e0c94947c32d6d74741e0a335f8b981 Cr-Commit-Position: refs/heads/master@{#402569}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixes. #

Total comments: 4

Patch Set 3 : Fix naming. #

Patch Set 4 : Fix win. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -8 lines) Patch
M ui/events/BUILD.gn View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M ui/events/devices/mojo/BUILD.gn View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
A + ui/events/devices/mojo/DEPS View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + ui/events/devices/mojo/device_struct_traits_test.mojom View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
A ui/events/devices/mojo/device_struct_traits_unittest.cc View 1 2 1 chunk +93 lines, -0 lines 0 comments Download
M ui/events/devices/mojo/input_device_struct_traits.h View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M ui/events/devices/mojo/input_device_struct_traits.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (12 generated)
kylechar
4 years, 5 months ago (2016-06-27 15:10:45 UTC) #2
sadrul
lgtm https://codereview.chromium.org/2100893002/diff/1/ui/events/devices/mojo/DEPS File ui/events/devices/mojo/DEPS (right): https://codereview.chromium.org/2100893002/diff/1/ui/events/devices/mojo/DEPS#newcode4 ui/events/devices/mojo/DEPS:4: Remove https://codereview.chromium.org/2100893002/diff/1/ui/events/devices/mojo/device_struct_traits_unittest.cc File ui/events/devices/mojo/device_struct_traits_unittest.cc (right): https://codereview.chromium.org/2100893002/diff/1/ui/events/devices/mojo/device_struct_traits_unittest.cc#newcode41 ui/events/devices/mojo/device_struct_traits_unittest.cc:41: base::MessageLoop ...
4 years, 5 months ago (2016-06-27 15:17:39 UTC) #3
kylechar
Thanks! https://codereview.chromium.org/2100893002/diff/1/ui/events/devices/mojo/DEPS File ui/events/devices/mojo/DEPS (right): https://codereview.chromium.org/2100893002/diff/1/ui/events/devices/mojo/DEPS#newcode4 ui/events/devices/mojo/DEPS:4: On 2016/06/27 15:17:39, sadrul wrote: > Remove Done. ...
4 years, 5 months ago (2016-06-27 15:25:59 UTC) #4
kylechar
+kenrb for mojom/struct_traits_unittests. +rockot for DEPS.
4 years, 5 months ago (2016-06-27 15:31:59 UTC) #6
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2100893002/diff/20001/ui/events/devices/mojo/BUILD.gn File ui/events/devices/mojo/BUILD.gn (right): https://codereview.chromium.org/2100893002/diff/20001/ui/events/devices/mojo/BUILD.gn#newcode17 ui/events/devices/mojo/BUILD.gn:17: mojom("test_service") { nit: "test_interfaces"? https://codereview.chromium.org/2100893002/diff/20001/ui/events/devices/mojo/device_traits_test_service.mojom File ui/events/devices/mojo/device_traits_test_service.mojom (right): https://codereview.chromium.org/2100893002/diff/20001/ui/events/devices/mojo/device_traits_test_service.mojom#newcode11 ...
4 years, 5 months ago (2016-06-27 15:34:34 UTC) #7
kylechar
I've changed the naming around based on your suggestions. https://codereview.chromium.org/2100893002/diff/20001/ui/events/devices/mojo/BUILD.gn File ui/events/devices/mojo/BUILD.gn (right): https://codereview.chromium.org/2100893002/diff/20001/ui/events/devices/mojo/BUILD.gn#newcode17 ui/events/devices/mojo/BUILD.gn:17: ...
4 years, 5 months ago (2016-06-27 15:44:25 UTC) #8
Ken Rockot(use gerrit already)
lgtm
4 years, 5 months ago (2016-06-27 15:46:02 UTC) #9
kenrb
lgtm
4 years, 5 months ago (2016-06-27 15:47:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100893002/40001
4 years, 5 months ago (2016-06-27 15:48:32 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/236000)
4 years, 5 months ago (2016-06-27 17:43:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100893002/140001
4 years, 5 months ago (2016-06-28 18:52:46 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:140001)
4 years, 5 months ago (2016-06-28 22:16:02 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 22:19:59 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b9e61b4b1e0c94947c32d6d74741e0a335f8b981
Cr-Commit-Position: refs/heads/master@{#402569}

Powered by Google App Engine
This is Rietveld 408576698