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

Issue 2037453002: Implement ui/gfx/geometry StructTraits unit tests (Closed)

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

Description

Implement ui/gfx/geometry StructTraits unit tests This CL also fixes a bug where SizeF had int32 types instead of floats. BUG=611802 Committed: https://crrev.com/9360d7387864d71dd80fb85787fbf33d95e39541 Cr-Commit-Position: refs/heads/master@{#397546}

Patch Set 1 #

Patch Set 2 : Fix SizeF unit test #

Total comments: 8

Patch Set 3 : Rebased + Addressed Scott's nits #

Total comments: 4

Patch Set 4 : Rebased + Addressed Tom's comment #

Patch Set 5 : Fixed windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -3 lines) Patch
M ui/gfx/BUILD.gn View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ui/gfx/geometry/mojo/BUILD.gn View 1 chunk +26 lines, -0 lines 0 comments Download
M ui/gfx/geometry/mojo/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/geometry/mojo/geometry.mojom View 1 chunk +2 lines, -2 lines 0 comments Download
A ui/gfx/geometry/mojo/geometry_struct_traits_unittest.cc View 1 2 3 4 1 chunk +174 lines, -0 lines 0 comments Download
A ui/gfx/geometry/mojo/geometry_traits_test_service.mojom View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
M ui/gfx/mojo/struct_traits_unittest.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/mojo/traits_test_service.mojom View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
Fady Samuel
+sky@ for ui/ and mojo DEP OWNER +tsepez@ for ipc changes
4 years, 6 months ago (2016-06-02 01:34:29 UTC) #2
sky
LGTM https://codereview.chromium.org/2037453002/diff/20001/ui/gfx/BUILD.gn File ui/gfx/BUILD.gn (right): https://codereview.chromium.org/2037453002/diff/20001/ui/gfx/BUILD.gn#newcode815 ui/gfx/BUILD.gn:815: "geometry/mojo:unit_test", Can you make deps that aren't in ...
4 years, 6 months ago (2016-06-02 03:22:21 UTC) #3
Fady Samuel
PTAL Tom https://codereview.chromium.org/2037453002/diff/20001/ui/gfx/BUILD.gn File ui/gfx/BUILD.gn (right): https://codereview.chromium.org/2037453002/diff/20001/ui/gfx/BUILD.gn#newcode815 ui/gfx/BUILD.gn:815: "geometry/mojo:unit_test", On 2016/06/02 03:22:21, sky wrote: > ...
4 years, 6 months ago (2016-06-02 12:09:24 UTC) #4
Tom Sepez
LGTM with a few comments. https://codereview.chromium.org/2037453002/diff/40001/ui/gfx/geometry/mojo/geometry_struct_traits_unittest.cc File ui/gfx/geometry/mojo/geometry_struct_traits_unittest.cc (right): https://codereview.chromium.org/2037453002/diff/40001/ui/gfx/geometry/mojo/geometry_struct_traits_unittest.cc#newcode71 ui/gfx/geometry/mojo/geometry_struct_traits_unittest.cc:71: const int32_t x = ...
4 years, 6 months ago (2016-06-02 18:29:57 UTC) #5
Fady Samuel
Thanks Tom! I've addressed your comments and will CQ. https://codereview.chromium.org/2037453002/diff/40001/ui/gfx/geometry/mojo/geometry_struct_traits_unittest.cc File ui/gfx/geometry/mojo/geometry_struct_traits_unittest.cc (right): https://codereview.chromium.org/2037453002/diff/40001/ui/gfx/geometry/mojo/geometry_struct_traits_unittest.cc#newcode71 ui/gfx/geometry/mojo/geometry_struct_traits_unittest.cc:71: ...
4 years, 6 months ago (2016-06-02 19:07:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2037453002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2037453002/60001
4 years, 6 months ago (2016-06-02 19:08:21 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/200198)
4 years, 6 months ago (2016-06-02 20:36:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2037453002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2037453002/80001
4 years, 6 months ago (2016-06-02 20:42:55 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-02 23:55:39 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 23:56:54 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9360d7387864d71dd80fb85787fbf33d95e39541
Cr-Commit-Position: refs/heads/master@{#397546}

Powered by Google App Engine
This is Rietveld 408576698