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

Side by Side Diff: base/mac/mac_util_unittest.mm

Issue 11359217: Move scoped_temp_dir from base to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « base/json/json_value_serializer_unittest.cc ('k') | base/path_service_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4
5 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "base/mac/mac_util.h" 7 #include "base/mac/mac_util.h"
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/files/scoped_temp_dir.h"
11 #include "base/mac/foundation_util.h" 12 #include "base/mac/foundation_util.h"
12 #include "base/mac/scoped_cftyperef.h" 13 #include "base/mac/scoped_cftyperef.h"
13 #include "base/memory/scoped_nsobject.h" 14 #include "base/memory/scoped_nsobject.h"
14 #include "base/scoped_temp_dir.h"
15 #include "base/sys_info.h" 15 #include "base/sys_info.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "testing/platform_test.h" 17 #include "testing/platform_test.h"
18 18
19 namespace base { 19 namespace base {
20 namespace mac { 20 namespace mac {
21 21
22 namespace { 22 namespace {
23 23
24 typedef PlatformTest MacUtilTest; 24 typedef PlatformTest MacUtilTest;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 EXPECT_TRUE(ParseModelIdentifier("MacBookPro6,2", &model, &major, &minor)); 203 EXPECT_TRUE(ParseModelIdentifier("MacBookPro6,2", &model, &major, &minor));
204 EXPECT_EQ(model, "MacBookPro"); 204 EXPECT_EQ(model, "MacBookPro");
205 EXPECT_EQ(6, major); 205 EXPECT_EQ(6, major);
206 EXPECT_EQ(2, minor); 206 EXPECT_EQ(2, minor);
207 } 207 }
208 208
209 } // namespace 209 } // namespace
210 210
211 } // namespace mac 211 } // namespace mac
212 } // namespace base 212 } // namespace base
OLDNEW
« no previous file with comments | « base/json/json_value_serializer_unittest.cc ('k') | base/path_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698