diff options
Diffstat (limited to 'components/autofill/browser/wallet/cart_unittest.cc')
-rw-r--r-- | components/autofill/browser/wallet/cart_unittest.cc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/components/autofill/browser/wallet/cart_unittest.cc b/components/autofill/browser/wallet/cart_unittest.cc deleted file mode 100644 index ae84c1b..0000000 --- a/components/autofill/browser/wallet/cart_unittest.cc +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "base/values.h" -#include "components/autofill/browser/wallet/cart.h" -#include "testing/gtest/include/gtest/gtest.h" - -namespace autofill { -namespace wallet { - -TEST(Cart, ToDictionary) { - base::DictionaryValue expected; - expected.SetString("total_price", "total_price"); - expected.SetString("currency_code", "currency_code"); - Cart cart("total_price", "currency_code"); - ASSERT_TRUE(expected.Equals(cart.ToDictionary().get())); -} - -} // namespace wallet -} // namespace autofill |