OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chromeos/attestation/mock_attestation_flow.h" | 5 #include "chromeos/attestation/mock_attestation_flow.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "testing/gmock/include/gmock/gmock.h" | |
9 | 8 |
10 using testing::_; | 9 using testing::_; |
11 using testing::DefaultValue; | 10 using testing::DefaultValue; |
12 using testing::Invoke; | 11 using testing::Invoke; |
13 | 12 |
14 namespace chromeos { | 13 namespace chromeos { |
15 namespace attestation { | 14 namespace attestation { |
16 | 15 |
17 FakeServerProxy::FakeServerProxy() : result_(true) {} | 16 FakeServerProxy::FakeServerProxy() : result_(true) {} |
18 | 17 |
(...skipping 27 matching lines...) Expand all Loading... |
46 | 45 |
47 MockObserver::~MockObserver() {} | 46 MockObserver::~MockObserver() {} |
48 | 47 |
49 MockAttestationFlow::MockAttestationFlow() | 48 MockAttestationFlow::MockAttestationFlow() |
50 : AttestationFlow(NULL, NULL, scoped_ptr<ServerProxy>()) {} | 49 : AttestationFlow(NULL, NULL, scoped_ptr<ServerProxy>()) {} |
51 | 50 |
52 MockAttestationFlow::~MockAttestationFlow() {} | 51 MockAttestationFlow::~MockAttestationFlow() {} |
53 | 52 |
54 } // namespace attestation | 53 } // namespace attestation |
55 } // namespace chromeos | 54 } // namespace chromeos |
OLD | NEW |