Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "mock_node.h" | 5 #include "mock_node.h" |
| 6 | 6 |
| 7 MockNode::MockNode(nacl_io::Filesystem* mount) : Node(mount) {} | 7 using ::testing::Return; |
| 8 | |
| 9 MockNode::MockNode(nacl_io::Filesystem* mount) : Node(mount) { | |
| 10 ON_CALL(*this, GetType()).WillByDefault(Return(S_IFREG)); | |
|
Sam Clegg
2015/09/17 09:40:39
Why this change?
avallee
2015/09/17 16:18:01
Might not be needed, but both read and write now c
| |
| 11 } | |
| 8 | 12 |
| 9 MockNode::~MockNode() {} | 13 MockNode::~MockNode() {} |
| OLD | NEW |