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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io_test/mount_html5fs_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 <string.h> 7 #include <string.h>
9 #include <gmock/gmock.h> 8 #include <gmock/gmock.h>
10 #include <ppapi/c/ppb_file_io.h> 9 #include <ppapi/c/ppb_file_io.h>
11 #include <ppapi/c/pp_directory_entry.h> 10 #include <ppapi/c/pp_directory_entry.h>
12 #include <ppapi/c/pp_errors.h> 11 #include <ppapi/c/pp_errors.h>
13 #include <ppapi/c/pp_instance.h> 12 #include <ppapi/c/pp_instance.h>
14 #if defined(WIN32) 13 #if defined(WIN32)
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 EXPECT_LT(0, dirents[0].d_ino); // 0 is an invalid inode number. 620 EXPECT_LT(0, dirents[0].d_ino); // 0 is an invalid inode number.
622 EXPECT_EQ(sizeof(dirent), dirents[0].d_off); 621 EXPECT_EQ(sizeof(dirent), dirents[0].d_off);
623 EXPECT_EQ(sizeof(dirent), dirents[0].d_reclen); 622 EXPECT_EQ(sizeof(dirent), dirents[0].d_reclen);
624 EXPECT_STREQ(fileref_name_cstr_1, dirents[0].d_name); 623 EXPECT_STREQ(fileref_name_cstr_1, dirents[0].d_name);
625 EXPECT_LT(0, dirents[1].d_ino); // 0 is an invalid inode number. 624 EXPECT_LT(0, dirents[1].d_ino); // 0 is an invalid inode number.
626 EXPECT_EQ(sizeof(dirent), dirents[1].d_off); 625 EXPECT_EQ(sizeof(dirent), dirents[1].d_off);
627 EXPECT_EQ(sizeof(dirent), dirents[1].d_reclen); 626 EXPECT_EQ(sizeof(dirent), dirents[1].d_reclen);
628 EXPECT_STREQ(fileref_name_cstr_2, dirents[1].d_name); 627 EXPECT_STREQ(fileref_name_cstr_2, dirents[1].d_name);
629 } 628 }
630 629
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698