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

Issue 1938843002: More thorough tests for PaymentDetails (Closed)

Created:
4 years, 7 months ago by please use gerrit instead
Modified:
4 years, 7 months ago
CC:
blink-reviews, chromium-reviews, haraken
Base URL:
https://chromium.googlesource.com/chromium/src.git@gn-output-dir
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

More thorough tests for PaymentDetails - Tests for missing "amount" in a line item or a shipping option. - Tests for empty strings "id", "label", "currencyAmount", and "value" in a line item or a shipping option. - Tests for invalid "value" in shipping options, e.g., "1..0" and "1/3". BUG=587995 Committed: https://crrev.com/e5450401f78147b5ca8d246a2a38ca8fa504fa93 Cr-Commit-Position: refs/heads/master@{#391080}

Patch Set 1 #

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -84 lines) Patch
M third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp View 2 chunks +20 lines, -37 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequestDetailsTest.cpp View 1 3 chunks +66 lines, -42 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp View 1 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
please use gerrit instead
mek@, ptal. Increasing code coverage in payments/ :-)
4 years, 7 months ago (2016-05-02 00:19:53 UTC) #2
Marijn Kruisselbrink
lgtm. Although maybe elaborate in the CL description what tests you added.
4 years, 7 months ago (2016-05-02 18:08:02 UTC) #3
please use gerrit instead
On 2016/05/02 18:08:02, Marijn Kruisselbrink wrote: > elaborate in the CL description what tests you ...
4 years, 7 months ago (2016-05-02 21:24:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1938843002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1938843002/20001
4 years, 7 months ago (2016-05-02 21:25:39 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-02 22:43:08 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 22:44:05 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e5450401f78147b5ca8d246a2a38ca8fa504fa93
Cr-Commit-Position: refs/heads/master@{#391080}

Powered by Google App Engine
This is Rietveld 408576698