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

Issue 11316156: Assert on actual contents of ScopedVector in scoped_vector_unittest. (Closed)

Created:
8 years ago by gavinp
Modified:
8 years ago
CC:
chromium-reviews, erikwright+watch_chromium.org, gavinp+memory_chromium.org
Visibility:
Public.

Description

Assert on actual contents of ScopedVector in scoped_vector_unittest. It's great if objects have the expected life cycles, and it's great if the vectors have the right sizes and clear at the right times. But isn't it also nice if the expected object is being stored in the expected place? R=willchan@chromium.org BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171996

Patch Set 1 #

Patch Set 2 : more asserts #

Total comments: 6

Patch Set 3 : merge to trunk #

Patch Set 4 : remediate to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -2 lines) Patch
M base/memory/scoped_vector_unittest.cc View 1 2 3 8 chunks +25 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
gavinp
I'm not convinced this is necessary, but while I was in the file I thought ...
8 years ago (2012-11-24 14:20:57 UTC) #1
willchan no longer on Chromium
lgtm https://codereview.chromium.org/11316156/diff/2001/base/memory/scoped_vector_unittest.cc File base/memory/scoped_vector_unittest.cc (right): https://codereview.chromium.org/11316156/diff/2001/base/memory/scoped_vector_unittest.cc#newcode158 base/memory/scoped_vector_unittest.cc:158: // Test that shrinking a vector deletes elements ...
8 years ago (2012-12-04 01:41:49 UTC) #2
gavinp
Thanks for the review, Will! https://codereview.chromium.org/11316156/diff/2001/base/memory/scoped_vector_unittest.cc File base/memory/scoped_vector_unittest.cc (right): https://codereview.chromium.org/11316156/diff/2001/base/memory/scoped_vector_unittest.cc#newcode158 base/memory/scoped_vector_unittest.cc:158: // Test that shrinking ...
8 years ago (2012-12-08 17:39:59 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/11316156/13001
8 years ago (2012-12-08 17:40:15 UTC) #4
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests
8 years ago (2012-12-08 19:05:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/11316156/13001
8 years ago (2012-12-08 19:22:31 UTC) #6
commit-bot: I haz the power
8 years ago (2012-12-08 22:39:44 UTC) #7
Message was sent while issue was closed.
Change committed as 171996

Powered by Google App Engine
This is Rietveld 408576698