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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io_test/kernel_wrap_test.cc

Issue 19673003: [NaCl SDK] Consistent use of copyright header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 */
5 4
6 #include <string> 5 #include <string>
7 #include <vector> 6 #include <vector>
8 #include "gtest/gtest.h" 7 #include "gtest/gtest.h"
9 #include "nacl_io/kernel_proxy.h" 8 #include "nacl_io/kernel_proxy.h"
10 #include "nacl_io/kernel_intercept.h" 9 #include "nacl_io/kernel_intercept.h"
11 #include "nacl_io/kernel_wrap.h" 10 #include "nacl_io/kernel_wrap.h"
12 #include "kernel_proxy_mock.h" 11 #include "kernel_proxy_mock.h"
13 12
14 using ::testing::_; 13 using ::testing::_;
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 const struct utimbuf* times; 275 const struct utimbuf* times;
277 EXPECT_CALL(mock, utime(StrEq("utime"), times)); 276 EXPECT_CALL(mock, utime(StrEq("utime"), times));
278 utime("utime", times); 277 utime("utime", times);
279 } 278 }
280 279
281 TEST_F(KernelWrapTest, write) { 280 TEST_F(KernelWrapTest, write) {
282 EXPECT_CALL(mock, write(6789, NULL, 7891)).Times(1); 281 EXPECT_CALL(mock, write(6789, NULL, 7891)).Times(1);
283 write(6789, NULL, 7891); 282 write(6789, NULL, 7891);
284 } 283 }
285 284
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698