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

Side by Side Diff: chrome/browser/autofill/wallet/cart_unittest.cc

Issue 11293078: Integrating Online Wallet into Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes from latest code review Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/values.h"
6 #include "chrome/browser/autofill/wallet/cart.h"
7 #include "testing/gtest/include/gtest/gtest.h"
8
9 namespace wallet {
10
11 TEST(Cart, ToDictionary) {
12 base::DictionaryValue expected;
13 expected.SetString("total_price", "total_price");
14 expected.SetString("currency_code", "currency_code");
15 Cart cart("total_price", "currency_code");
16 ASSERT_TRUE(expected.Equals(cart.ToDictionary().get()));
17 }
18
19 } // end wallet namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698