| // Copyright 2015 The Chromium OS Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef ATTESTATION_COMMON_MOCK_ATTESTATION_INTERFACE_H_ |
| #define ATTESTATION_COMMON_MOCK_ATTESTATION_INTERFACE_H_ |
| |
| #include <string> |
| |
| #include <gmock/gmock.h> |
| |
| #include "attestation/common/attestation_interface.h" |
| |
| namespace attestation { |
| |
| class MockAttestationInterface : public AttestationInterface { |
| public: |
| MockAttestationInterface() = default; |
| virtual ~MockAttestationInterface() = default; |
| |
| MOCK_METHOD0(Initialize, bool()); |
| MOCK_METHOD5(CreateGoogleAttestedKey, void( |
| const std::string&, |
| KeyType, |
| KeyUsage, |
| CertificateProfile, |
| const base::Callback<CreateGoogleAttestedKeyCallback>&)); |
| }; |
| |
| } // namespace attestation |
| |
| #endif // ATTESTATION_COMMON_MOCK_ATTESTATION_INTERFACE_H_ |
| |