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

Issue 2677133002: [test] Cleanup CHECK_EQ order. (Closed)

Created:
3 years, 10 months ago by Franzi
Modified:
3 years, 10 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[test] Cleanup CHECK_EQ order. Keep the order in CHECK_EQ calls consistent as (expected, actual). Simplify CHECK_EQ(true, expected) to CHECK(expected) and CHECK_EQ(false, expected) to CHECK(!expected). BUG= Review-Url: https://codereview.chromium.org/2677133002 Cr-Commit-Position: refs/heads/master@{#42964} Committed: https://chromium.googlesource.com/v8/v8/+/a495fc92daf0adef64a95e858cd1fe07a430c2e2

Patch Set 1 #

Total comments: 2

Patch Set 2 : [test] Cleanup CHECK_EQ(true/false). #

Patch Set 3 : Reparent to master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -94 lines) Patch
M test/cctest/test-api.cc View 1 33 chunks +49 lines, -49 lines 0 comments Download
M test/cctest/test-api-interceptors.cc View 1 23 chunks +44 lines, -45 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (18 generated)
Franzi
Hi Yang, I realized I used the wrong order in CHECK_EQ(). Cleaned up the whole ...
3 years, 10 months ago (2017-02-06 10:36:53 UTC) #4
Yang
lgtm. but... https://codereview.chromium.org/2677133002/diff/1/test/cctest/test-api.cc File test/cctest/test-api.cc (right): https://codereview.chromium.org/2677133002/diff/1/test/cctest/test-api.cc#newcode511 test/cctest/test-api.cc:511: + CHECK_EQ(false, source->IsExternal()); You could just do ...
3 years, 10 months ago (2017-02-06 10:43:43 UTC) #5
Franzi
https://codereview.chromium.org/2677133002/diff/1/test/cctest/test-api.cc File test/cctest/test-api.cc (right): https://codereview.chromium.org/2677133002/diff/1/test/cctest/test-api.cc#newcode511 test/cctest/test-api.cc:511: + CHECK_EQ(false, source->IsExternal()); On 2017/02/06 10:43:43, Yang wrote: > ...
3 years, 10 months ago (2017-02-06 11:45:13 UTC) #11
Yang
On 2017/02/06 11:45:13, Franzi wrote: > https://codereview.chromium.org/2677133002/diff/1/test/cctest/test-api.cc > File test/cctest/test-api.cc (right): > > https://codereview.chromium.org/2677133002/diff/1/test/cctest/test-api.cc#newcode511 > ...
3 years, 10 months ago (2017-02-06 11:53:22 UTC) #12
commit-bot: I haz the power
This CL has an open dependency (Issue 2674103002 Patch 1). Please resolve the dependency and ...
3 years, 10 months ago (2017-02-06 12:06:29 UTC) #17
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/2677133002/80001
3 years, 10 months ago (2017-02-06 12:24:26 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-06 12:51:59 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/v8/v8/+/a495fc92daf0adef64a95e858cd1fe07a43...

Powered by Google App Engine
This is Rietveld 408576698