Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(91)

Issue 1184043002: Fix unit test style in Source/wtf/. (Closed)

Created:
4 years, 10 months ago by tkent
Modified:
4 years, 10 months ago
Reviewers:
kochi
CC:
blink-reviews, Mads Ager (chromium), oilpan-reviews, haraken, blink-reviews-wtf_chromium.org, kouhei+heap_chromium.org, Mikhail
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fix unit test style in Source/wtf/. Mainly fix namespace usage. This CL has no behavior changes. BUG=498604 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197101

Patch Set 1 : #

Total comments: 23

Patch Set 2 : apply review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+517 lines, -500 lines) Patch
M Source/wtf/CheckedArithmeticTest.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/wtf/DequeTest.cpp View 1 5 chunks +8 lines, -4 lines 0 comments Download
M Source/wtf/FunctionalTest.cpp View 7 chunks +13 lines, -17 lines 0 comments Download
M Source/wtf/HashMapTest.cpp View 1 7 chunks +12 lines, -9 lines 0 comments Download
M Source/wtf/HashSetTest.cpp View 1 3 chunks +9 lines, -6 lines 0 comments Download
M Source/wtf/ListHashSetTest.cpp View 1 3 chunks +6 lines, -2 lines 0 comments Download
M Source/wtf/MathExtrasTest.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/wtf/PartitionAllocTest.cpp View 1 58 chunks +208 lines, -204 lines 0 comments Download
M Source/wtf/RefPtrTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/wtf/SaturatedArithmeticTest.cpp View 2 chunks +2 lines, -3 lines 0 comments Download
M Source/wtf/StringExtrasTest.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/wtf/StringHasherTest.cpp View 1 2 chunks +23 lines, -19 lines 0 comments Download
M Source/wtf/TemporaryChangeTest.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/wtf/TreeNodeTest.cpp View 3 chunks +2 lines, -4 lines 0 comments Download
M Source/wtf/VectorTest.cpp View 2 chunks +7 lines, -2 lines 0 comments Download
M Source/wtf/text/AtomicStringTest.cpp View 2 chunks +19 lines, -19 lines 0 comments Download
M Source/wtf/text/CStringTest.cpp View 1 chunk +81 lines, -81 lines 0 comments Download
M Source/wtf/text/StringBufferTest.cpp View 3 chunks +4 lines, -6 lines 0 comments Download
M Source/wtf/text/StringBuilderTest.cpp View 1 9 chunks +53 lines, -57 lines 0 comments Download
M Source/wtf/text/StringImplTest.cpp View 1 chunk +7 lines, -8 lines 0 comments Download
M Source/wtf/text/StringOperatorsTest.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/wtf/text/WTFStringTest.cpp View 1 7 chunks +45 lines, -41 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
tkent
Kochi-san, would you review this please? This is the last one.
4 years, 10 months ago (2015-06-15 02:02:50 UTC) #3
kochi
https://codereview.chromium.org/1184043002/diff/2/Source/wtf/DequeTest.cpp File Source/wtf/DequeTest.cpp (right): https://codereview.chromium.org/1184043002/diff/2/Source/wtf/DequeTest.cpp#newcode36 Source/wtf/DequeTest.cpp:36: namespace { Is this anonymous namespace necessary? It seems ...
4 years, 10 months ago (2015-06-15 03:34:22 UTC) #4
tkent
https://codereview.chromium.org/1184043002/diff/2/Source/wtf/DequeTest.cpp File Source/wtf/DequeTest.cpp (right): https://codereview.chromium.org/1184043002/diff/2/Source/wtf/DequeTest.cpp#newcode36 Source/wtf/DequeTest.cpp:36: namespace { On 2015/06/15 03:34:22, Takayoshi Kochi wrote: > ...
4 years, 10 months ago (2015-06-15 03:49:23 UTC) #5
kochi
lgtm Could you fix nits for DummyRefCounted on HashMapTest/HashSetTest/ListHashSetTest? https://codereview.chromium.org/1184043002/diff/2/Source/wtf/DequeTest.cpp File Source/wtf/DequeTest.cpp (right): https://codereview.chromium.org/1184043002/diff/2/Source/wtf/DequeTest.cpp#newcode36 Source/wtf/DequeTest.cpp:36: ...
4 years, 10 months ago (2015-06-15 04:02:39 UTC) #6
tkent
Historically we prefer |static| to anonymous namespace in WebKit/Blink. IMO, we should use anonymous namespace ...
4 years, 10 months ago (2015-06-15 04:45:58 UTC) #7
kochi
still lgtm I didn't know WebKit historically preferred static, but I agree that we should ...
4 years, 10 months ago (2015-06-15 04:54:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1184043002/30001
4 years, 10 months ago (2015-06-15 05:51:01 UTC) #10
commit-bot: I haz the power
4 years, 10 months ago (2015-06-15 05:54:16 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:30001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197101

Powered by Google App Engine
This is Rietveld 408576698