blob: b7c8fa7e3851e8f511efbfe7193ecd8453813c7a [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 "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