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

Issue 2697613003: Convert ios/chrome/commong/block_unittest.mm to ARC. (Closed)

Created:
3 years, 10 months ago by sdefresne
Modified:
3 years, 10 months ago
CC:
chromium-reviews, marq+watch_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert ios/chrome/commong/block_unittest.mm to ARC. Manually convert ios/chrome/commong/block_unittest.mm to ARC (use a typedef to allow filtering on the tests too). Note that with ARC, the expectation of the refcount need to be changed as ARC always call -copy the block when assigning it to a local variable (i.e. the stack block object is inaccessible, all blocks are heap blocks). Duplicate the test as the expectation are a bit different with and without ARC and we want to ensure thay do not change. BUG=None Review-Url: https://codereview.chromium.org/2697613003 Cr-Commit-Position: refs/heads/master@{#450702} Committed: https://chromium.googlesource.com/chromium/src/+/23925e0de5c7d70a08ca2ac3d1a0d3b1b56cb58a

Patch Set 1 #

Patch Set 2 : Duplicate the test for ARC & non-ARC. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -29 lines) Patch
M ios/chrome/common/BUILD.gn View 1 1 chunk +14 lines, -7 lines 0 comments Download
M ios/chrome/common/block_unittest.mm View 1 5 chunks +24 lines, -18 lines 0 comments Download
A + ios/chrome/common/noarc_block_unittest.mm View 1 4 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (15 generated)
sdefresne
Please all (marq, lod, stkhapugin) take a look. This goal of this test is to ...
3 years, 10 months ago (2017-02-13 17:38:50 UTC) #4
stkhapugin
This test for ARC - lgtm, but +1 to keeping the previous version around.
3 years, 10 months ago (2017-02-14 14:18:25 UTC) #7
lody
On 2017/02/13 17:38:50, sdefresne wrote: > Please all (marq, lod, stkhapugin) take a look. > ...
3 years, 10 months ago (2017-02-14 14:20:38 UTC) #8
sdefresne
On 2017/02/14 14:20:38, lody wrote: > On 2017/02/13 17:38:50, sdefresne wrote: > > Please all ...
3 years, 10 months ago (2017-02-14 14:28:05 UTC) #9
sdefresne
PTAL
3 years, 10 months ago (2017-02-15 14:12:55 UTC) #13
stkhapugin
lgtm
3 years, 10 months ago (2017-02-15 14:16:19 UTC) #16
lody
lgtm
3 years, 10 months ago (2017-02-15 14:33:20 UTC) #17
marq (ping after 24h)
lgtm
3 years, 10 months ago (2017-02-15 15:07:21 UTC) #18
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/2697613003/20001
3 years, 10 months ago (2017-02-15 15:10:16 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 15:16:23 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/23925e0de5c7d70a08ca2ac3d1a0...

Powered by Google App Engine
This is Rietveld 408576698