| // Copyright 2020 The ChromiumOS Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef BIOD_MOCK_BIOMETRICS_MANAGER_RECORD_H_ |
| #define BIOD_MOCK_BIOMETRICS_MANAGER_RECORD_H_ |
| |
| #include <string> |
| #include <vector> |
| |
| #include <gmock/gmock.h> |
| |
| #include "biod/biometrics_manager_record_interface.h" |
| |
| namespace biod { |
| |
| class MockBiometricsManagerRecord : public BiometricsManagerRecordInterface { |
| public: |
| MockBiometricsManagerRecord() = default; |
| ~MockBiometricsManagerRecord() override = default; |
| |
| MOCK_METHOD(const std::string&, GetId, (), (const, override)); |
| MOCK_METHOD(std::string, GetUserId, (), (const, override)); |
| MOCK_METHOD(std::string, GetLabel, (), (const, override)); |
| MOCK_METHOD(std::vector<uint8_t>, GetValidationVal, (), (const, override)); |
| MOCK_METHOD(bool, SetLabel, (std::string label), (override)); |
| MOCK_METHOD(bool, Remove, (), (override)); |
| }; |
| |
| } // namespace biod |
| |
| #endif // BIOD_MOCK_BIOMETRICS_MANAGER_RECORD_H_ |