Home | History | Annotate | Download | only in wallet
      1 // Copyright 2013 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 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_
      6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_
      7 
      8 #include "base/memory/scoped_ptr.h"
      9 #include "components/autofill/content/browser/wallet/wallet_items.h"
     10 
     11 namespace autofill {
     12 namespace wallet {
     13 
     14 class Address;
     15 class FullWallet;
     16 class Instrument;
     17 
     18 scoped_ptr<Address> GetTestAddress();
     19 scoped_ptr<Address> GetTestMinimalAddress();
     20 scoped_ptr<FullWallet> GetTestFullWallet();
     21 scoped_ptr<FullWallet> GetTestFullWalletInstrumentOnly();
     22 scoped_ptr<Instrument> GetTestInstrument();
     23 scoped_ptr<Instrument> GetTestAddressUpgradeInstrument();
     24 scoped_ptr<Instrument> GetTestExpirationDateChangeInstrument();
     25 scoped_ptr<Instrument> GetTestAddressNameChangeInstrument();
     26 scoped_ptr<WalletItems::LegalDocument> GetTestLegalDocument();
     27 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrument();
     28 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentExpired();
     29 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentInvalid();
     30 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentAmex();
     31 scoped_ptr<WalletItems::MaskedInstrument> GetTestNonDefaultMaskedInstrument();
     32 scoped_ptr<WalletItems::MaskedInstrument>
     33     GetTestMaskedInstrumentWithIdAndAddress(
     34         const std::string& id, scoped_ptr<Address> address);
     35 scoped_ptr<Address> GetTestSaveableAddress();
     36 scoped_ptr<Address> GetTestShippingAddress();
     37 scoped_ptr<Address> GetTestNonDefaultShippingAddress();
     38 scoped_ptr<WalletItems> GetTestWalletItems();
     39 
     40 }  // namespace wallet
     41 }  // namespace autofill
     42 
     43 #endif  // COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_
     44