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

Side by Side Diff: base/files/dir_reader_posix_unittest.cc

Issue 10413022: Move dir_reader to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux Created 8 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) 2011 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 4
5 #include "base/dir_reader_posix.h" 5 #include "base/files/dir_reader_posix.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <stdio.h> 8 #include <stdio.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include <string.h> 10 #include <string.h>
11 #include <unistd.h> 11 #include <unistd.h>
12 12
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 PCHECK(fchdir(prev_wd) == 0); 84 PCHECK(fchdir(prev_wd) == 0);
85 PCHECK(close(prev_wd) == 0); 85 PCHECK(close(prev_wd) == 0);
86 86
87 EXPECT_TRUE(seen_dot); 87 EXPECT_TRUE(seen_dot);
88 EXPECT_TRUE(seen_dotdot); 88 EXPECT_TRUE(seen_dotdot);
89 EXPECT_EQ(kNumFiles, seen.size()); 89 EXPECT_EQ(kNumFiles, seen.size());
90 } 90 }
91 91
92 } // namespace base 92 } // namespace base
OLDNEW
« no previous file with comments | « base/files/dir_reader_posix.h ('k') | chrome/browser/extensions/external_pref_extension_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698