Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(514)

Side by Side Diff: native_client_sdk/src/tests/nacl_io_test/mock_node.cc

Issue 1335783005: [NaCl SDK] nacl_io: Add support for basic socketpairs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Class renamed/cl-format applied. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/22 17:53:44 Why?
avallee 2015/09/22 20:25:06 Removed, not necessary.
11 }
8 12
9 MockNode::~MockNode() {} 13 MockNode::~MockNode() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698