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

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 namespace nacl_io; 13 using namespace nacl_io;
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 const struct utimbuf* times; 277 const struct utimbuf* times;
279 EXPECT_CALL(mock, utime(StrEq("utime"), times)); 278 EXPECT_CALL(mock, utime(StrEq("utime"), times));
280 utime("utime", times); 279 utime("utime", times);
281 } 280 }
282 281
283 TEST_F(KernelWrapTest, write) { 282 TEST_F(KernelWrapTest, write) {
284 EXPECT_CALL(mock, write(6789, NULL, 7891)).Times(1); 283 EXPECT_CALL(mock, write(6789, NULL, 7891)).Times(1);
285 write(6789, NULL, 7891); 284 write(6789, NULL, 7891);
286 } 285 }
287 286
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698