blob: f5ca418fb2cad682feef3b841f0e193db30d8cab [file] [log] [blame]
// Copyright (c) 2010 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 LOGIN_MANAGER_MOCK_FILE_CHECKER_H_
#define LOGIN_MANAGER_MOCK_FILE_CHECKER_H_
#include "login_manager/file_checker.h"
#include <unistd.h>
#include <gmock/gmock.h>
namespace login_manager {
class MockFileChecker : public FileChecker {
public:
explicit MockFileChecker(std::string filename) : FileChecker(filename) {}
~MockFileChecker() {}
MOCK_METHOD0(exists, bool());
};
} // namespace login_manager
#endif // LOGIN_MANAGER_MOCK_FILE_CHECKER_H_