blob: 718fad1e95f4c2b5667608172eb733a82dae7e43 [file] [log] [blame]
Darin Petkov3c5e4dc2012-04-02 14:44:27 +02001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SHILL_MOCK_NSS_
6#define SHILL_MOCK_NSS_
7
8#include <gmock/gmock.h>
9
10#include "shill/nss.h"
11
12namespace shill {
13
14class MockNSS : public NSS {
15 public:
16 MockNSS();
17 virtual ~MockNSS();
18
Albert Chaulk0e1cdea2013-02-27 15:32:55 -080019 MOCK_METHOD2(GetPEMCertfile, base::FilePath(const std::string &nickname,
20 const std::vector<char> &id));
21 MOCK_METHOD2(GetDERCertfile, base::FilePath(const std::string &nickname,
22 const std::vector<char> &id));
Darin Petkov3c5e4dc2012-04-02 14:44:27 +020023
24 private:
25 DISALLOW_COPY_AND_ASSIGN(MockNSS);
26};
27
28} // namespace shill
29
30#endif // SHILL_MOCK_NSS_