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

Issue 2585303002: PaymentApp: Fix params order of EXPECT/ASSERTs in unit tests. (Closed)

Created:
4 years ago by zino
Modified:
4 years ago
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PaymentApp: Fix params order of EXPECT/ASSERTs in unit tests. The correct order should be (expected, actual) as per macro definitions in gtest.h. BUG=661608 Committed: https://crrev.com/d68e475ced5992041ee85217ec6b95cfe744f254 Cr-Commit-Position: refs/heads/master@{#439862}

Patch Set 1 #

Total comments: 5

Patch Set 2 : PaymentApp: Fix params order of EXPECT/ASSERTs in unit tests. #

Patch Set 3 : PaymentApp: Fix params order of EXPECT/ASSERTs in unit tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -79 lines) Patch
M content/browser/payments/payment_app_content_unittest_base.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/payments/payment_app_content_unittest_base.cc View 1 1 chunk +19 lines, -0 lines 0 comments Download
M content/browser/payments/payment_app_context_impl_unittest.cc View 1 2 4 chunks +18 lines, -27 lines 0 comments Download
M content/browser/payments/payment_app_manager_unittest.cc View 1 2 4 chunks +34 lines, -52 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
zino
PTAL I mis-used some EXPECT/ASSERTs..
4 years ago (2016-12-19 17:57:31 UTC) #3
please use gerrit instead
https://codereview.chromium.org/2585303002/diff/1/content/browser/payments/payment_app_context_impl_unittest.cc File content/browser/payments/payment_app_context_impl_unittest.cc (right): https://codereview.chromium.org/2585303002/diff/1/content/browser/payments/payment_app_context_impl_unittest.cc#newcode103 content/browser/payments/payment_app_context_impl_unittest.cc:103: EXPECT_EQ("payment-app-icon", manifest.second->icon.value()); If you construct an expected manifest, can ...
4 years ago (2016-12-19 20:27:58 UTC) #4
zino
Thank you for review. https://codereview.chromium.org/2585303002/diff/1/content/browser/payments/payment_app_context_impl_unittest.cc File content/browser/payments/payment_app_context_impl_unittest.cc (right): https://codereview.chromium.org/2585303002/diff/1/content/browser/payments/payment_app_context_impl_unittest.cc#newcode103 content/browser/payments/payment_app_context_impl_unittest.cc:103: EXPECT_EQ("payment-app-icon", manifest.second->icon.value()); On 2016/12/19 20:27:58, ...
4 years ago (2016-12-20 17:11:28 UTC) #5
please use gerrit instead
lgtm % comments https://codereview.chromium.org/2585303002/diff/1/content/browser/payments/payment_app_context_impl_unittest.cc File content/browser/payments/payment_app_context_impl_unittest.cc (right): https://codereview.chromium.org/2585303002/diff/1/content/browser/payments/payment_app_context_impl_unittest.cc#newcode103 content/browser/payments/payment_app_context_impl_unittest.cc:103: EXPECT_EQ("payment-app-icon", manifest.second->icon.value()); On 2016/12/20 17:11:28, zino ...
4 years ago (2016-12-20 17:23:37 UTC) #6
zino
On 2016/12/20 17:23:37, rouslan-intermittent-holidays wrote: > lgtm % comments > > https://codereview.chromium.org/2585303002/diff/1/content/browser/payments/payment_app_context_impl_unittest.cc > File content/browser/payments/payment_app_context_impl_unittest.cc ...
4 years ago (2016-12-20 18:33:32 UTC) #7
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/2585303002/40001
4 years ago (2016-12-20 18:37:26 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-20 19:08:44 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-20 19:11:43 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d68e475ced5992041ee85217ec6b95cfe744f254
Cr-Commit-Position: refs/heads/master@{#439862}

Powered by Google App Engine
This is Rietveld 408576698