blob: 071db9b89400f9085a8c6849cfc355502060c3ee [file] [log] [blame]
// Copyright (c) 2013 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.
#include "cryptohome/mock_keystore.h"
namespace cryptohome {
MockKeyStore::MockKeyStore() {
ON_CALL(*this, Read(_, _, _)).WillByDefault(Return(true));
ON_CALL(*this, Write(_, _, _)).WillByDefault(Return(true));
ON_CALL(*this, Delete(_, _)).WillByDefault(Return(true));
ON_CALL(*this, DeleteByPrefix(_, _)).WillByDefault(Return(true));
ON_CALL(*this, Register(_, _, _)).WillByDefault(Return(true));
}
MockKeyStore::~MockKeyStore() {}
} // namespace cryptohome