blob: f1b3049d7c7bd041102a22d2a32295c0855c19a3 [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
19 MOCK_METHOD2(GetPEMCertfile, FilePath(const std::string &nickname,
20 const std::vector<char> &id));
21 MOCK_METHOD2(GetDERCertfile, FilePath(const std::string &nickname,
22 const std::vector<char> &id));
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(MockNSS);
26};
27
28} // namespace shill
29
30#endif // SHILL_MOCK_NSS_