1 // Copyright 2014 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.
5 #include "chrome/browser/ui/autofill/mock_address_validator.h"
9 MockAddressValidator::MockAddressValidator() {
11 using testing::Return
;
12 ON_CALL(*this, ValidateAddress(_
, _
, _
)).WillByDefault(Return(SUCCESS
));
13 ON_CALL(*this, GetSuggestions(_
, _
, _
, _
)).WillByDefault(Return(SUCCESS
));
14 ON_CALL(*this, CanonicalizeAdministrativeArea(_
)).WillByDefault(Return(true));
17 MockAddressValidator::~MockAddressValidator() {}
19 } // namespace autofill