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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io_test/kernel_proxy_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) 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 */
5 4
6 #include <errno.h> 5 #include <errno.h>
7 #include <fcntl.h> 6 #include <fcntl.h>
8 #include <pthread.h> 7 #include <pthread.h>
9 #include <sys/stat.h> 8 #include <sys/stat.h>
10 9
11 #include <map> 10 #include <map>
12 #include <string> 11 #include <string>
13 12
14 #include "gmock/gmock.h" 13 #include "gmock/gmock.h"
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 501
503 int fd = ki_open("/dummy", O_RDONLY); 502 int fd = ki_open("/dummy", O_RDONLY);
504 EXPECT_NE(0, fd); 503 EXPECT_NE(0, fd);
505 504
506 char buf[20]; 505 char buf[20];
507 EXPECT_EQ(-1, ki_read(fd, &buf[0], 20)); 506 EXPECT_EQ(-1, ki_read(fd, &buf[0], 20));
508 // The Mount should be able to return whatever error it wants and have it 507 // The Mount should be able to return whatever error it wants and have it
509 // propagate through. 508 // propagate through.
510 EXPECT_EQ(1234, errno); 509 EXPECT_EQ(1234, errno);
511 } 510 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698