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

Issue 79263004: Enables font-related unittests again. (Closed)

Created:
7 years, 1 month ago by Yuki
Modified:
7 years ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Enables font-related unittests again. Enables the unittests which got disabled because Symbol font was missing on trybots. See http://crrev.com/67523002 Symbol font has been installed on trybots. See http://crbug.com/320391 BUG=316955 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240048

Patch Set 1 #

Total comments: 1

Patch Set 2 : Synced. #

Patch Set 3 : Made unittests more robust. #

Patch Set 4 : Fixed a test breakage on Windows. #

Total comments: 10

Patch Set 5 : Synced. #

Patch Set 6 : Addressed Mike's comments. #

Total comments: 4

Patch Set 7 : Changed the suffix from ForTest to ForTesting. #

Patch Set 8 : Synced. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -14 lines) Patch
M build/android/pylib/gtest/filter/ui_unittests_disabled View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/font.h View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M ui/gfx/font.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gfx/font_list_unittest.cc View 1 2 3 4 5 6 3 chunks +4 lines, -2 lines 0 comments Download
M ui/gfx/font_unittest.cc View 1 2 3 4 5 6 4 chunks +19 lines, -0 lines 0 comments Download
M ui/gfx/platform_font.h View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M ui/gfx/platform_font_ios.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/platform_font_ios.mm View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gfx/platform_font_mac.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/platform_font_mac.mm View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gfx/platform_font_ozone.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gfx/platform_font_pango.h View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M ui/gfx/platform_font_pango.cc View 1 2 3 4 5 6 3 chunks +8 lines, -1 line 0 comments Download
M ui/gfx/platform_font_win.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/platform_font_win.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M ui/gfx/render_text_unittest.cc View 1 2 3 4 5 6 3 chunks +7 lines, -4 lines 0 comments Download
M ui/views/controls/label_unittest.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Yuki
Could you review this CL?
7 years, 1 month ago (2013-11-21 07:59:12 UTC) #1
msw
LGTM, but please add ASSERTs to these tests to ensure that the symbol font was ...
7 years, 1 month ago (2013-11-21 17:07:36 UTC) #2
sadrul
LGTM
7 years, 1 month ago (2013-11-21 19:31:05 UTC) #3
Yuki
Sorry for leaving this CL so long. I added some more tests as Mike advised. ...
7 years ago (2013-12-06 11:37:40 UTC) #4
msw
GetFontName is not used in that many places, I think it should simply adopt this ...
7 years ago (2013-12-09 19:27:14 UTC) #5
Yuki
For GetFontName vs GetActualFontName(ForTest), I think it's better to keep the current spec of GetFontName(). ...
7 years ago (2013-12-10 09:58:58 UTC) #6
msw
LGTM, but I'd like to have Alexei review too. https://codereview.chromium.org/79263004/diff/280001/ui/gfx/font_unittest.cc File ui/gfx/font_unittest.cc (right): https://codereview.chromium.org/79263004/diff/280001/ui/gfx/font_unittest.cc#newcode130 ui/gfx/font_unittest.cc:130: ...
7 years ago (2013-12-10 16:22:12 UTC) #7
Alexei Svitkine (slow)
LGTM % nit Thanks for cleaning this up! https://codereview.chromium.org/79263004/diff/280001/ui/gfx/platform_font.h File ui/gfx/platform_font.h (right): https://codereview.chromium.org/79263004/diff/280001/ui/gfx/platform_font.h#newcode67 ui/gfx/platform_font.h:67: virtual ...
7 years ago (2013-12-10 16:30:30 UTC) #8
Yuki
Thanks for the review. Committing. https://codereview.chromium.org/79263004/diff/280001/ui/gfx/font_unittest.cc File ui/gfx/font_unittest.cc (right): https://codereview.chromium.org/79263004/diff/280001/ui/gfx/font_unittest.cc#newcode130 ui/gfx/font_unittest.cc:130: // On Windows, Font::GetActualFontName() ...
7 years ago (2013-12-11 05:05:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/79263004/320001
7 years ago (2013-12-11 05:07:05 UTC) #10
commit-bot: I haz the power
7 years ago (2013-12-11 08:43:08 UTC) #11
Message was sent while issue was closed.
Change committed as 240048

Powered by Google App Engine
This is Rietveld 408576698