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

Issue 705713004: Add simpler unit tests for VerifiedMemory. (Closed)

Created:
6 years, 1 month ago by koda
Modified:
6 years, 1 month ago
Reviewers:
Bill Hesse
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add simpler unit tests for VerifiedMemory. Also remember to free the reservation and the end of (non-negative) tests. BUG=21469 TBR=whesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=41528

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M runtime/vm/verified_memory_test.cc View 3 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
koda
Committed patchset #1 (id:1) manually as r41528 (presubmit successful).
6 years, 1 month ago (2014-11-05 18:26:40 UTC) #1
Bill Hesse
6 years, 1 month ago (2014-11-06 08:41:56 UTC) #2
Message was sent while issue was closed.
lgtm

Why wouldn't it be correct to add delete vm to the end of the negative tests
too?  If they crash, they won't get there, right, and if they incorrectly pass,
then they should do what a passing test does, so they don't crash for the wrong
reason.

Powered by Google App Engine
This is Rietveld 408576698