blob: c6535a96ca34a10f9c513fb4c0e2973bd5214169 [file] [log] [blame]
// Copyright 2014 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 CRYPTOHOME_MOCK_TPM_INIT_H_
#define CRYPTOHOME_MOCK_TPM_INIT_H_
#include "tpm_init.h"
#include <gmock/gmock.h>
namespace cryptohome {
class MockTpmInit : public TpmInit {
public:
MockTpmInit();
~MockTpmInit();
MOCK_METHOD1(SetupTpm, bool(bool));
MOCK_METHOD1(RemoveTpmOwnerDependency, void(TpmOwnerDependency));
MOCK_METHOD0(HasCryptohomeKey, bool());
};
} // namespace cryptohome
#endif // CRYPTOHOME_MOCK_TPM_INIT_H_