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

Issue 1877943002: Add unit test for providing empty list of detail items (Closed)

Created:
4 years, 8 months ago by rwlbuis
Modified:
4 years, 8 months ago
CC:
chromium-reviews, blink-reviews, haraken
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add unit test for providing empty list of detail items Add unit test for testing that an exception is thrown for an empty list of detail items, this is different from not providing detail items at all (ItemListRequired). BUG=587995 Committed: https://crrev.com/beabbc4259fe54a818c1e824768495e8e8663406 Cr-Commit-Position: refs/heads/master@{#386569}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
rwlbuis
PTAL. I don't think we tested this before.
4 years, 8 months ago (2016-04-11 21:15:02 UTC) #5
please use gerrit instead
https://codereview.chromium.org/1877943002/diff/1/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp File third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp (right): https://codereview.chromium.org/1877943002/diff/1/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp#newcode81 third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp:81: PaymentRequest::create(getScriptState(), Vector<String>(1, "foo"), buildPaymentDetailsForTest(PaymentTestDetailNoItems), getExceptionState()); I would prefer this ...
4 years, 8 months ago (2016-04-11 21:46:36 UTC) #6
rwlbuis
PTAL. https://codereview.chromium.org/1877943002/diff/1/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp File third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp (right): https://codereview.chromium.org/1877943002/diff/1/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp#newcode81 third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp:81: PaymentRequest::create(getScriptState(), Vector<String>(1, "foo"), buildPaymentDetailsForTest(PaymentTestDetailNoItems), getExceptionState()); On 2016/04/11 21:46:36, ...
4 years, 8 months ago (2016-04-12 01:19:17 UTC) #7
please use gerrit instead
lgtm
4 years, 8 months ago (2016-04-12 01:25:07 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1877943002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1877943002/20001
4 years, 8 months ago (2016-04-12 01:25:34 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-12 03:33:25 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 03:35:10 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/beabbc4259fe54a818c1e824768495e8e8663406
Cr-Commit-Position: refs/heads/master@{#386569}

Powered by Google App Engine
This is Rietveld 408576698