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

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

Issue 1466413002: Update gtest to 786564fa4a3c, switch to googlemock in gtest Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
12 #include "base/mac/foundation_util.h" 12 #include "base/mac/foundation_util.h"
13 #include "base/mac/scoped_cftyperef.h" 13 #include "base/mac/scoped_cftyperef.h"
14 #include "base/mac/scoped_nsobject.h" 14 #include "base/mac/scoped_nsobject.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/googletest/include/gtest/gtest.h"
17 #include "testing/platform_test.h" 17 #include "testing/platform_test.h"
18 18
19 #include <errno.h> 19 #include <errno.h>
20 #include <sys/xattr.h> 20 #include <sys/xattr.h>
21 21
22 namespace base { 22 namespace base {
23 namespace mac { 23 namespace mac {
24 24
25 namespace { 25 namespace {
26 26
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); 312 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
313 FilePath non_existent_path = temp_dir_.path().Append("DummyPath"); 313 FilePath non_existent_path = temp_dir_.path().Append("DummyPath");
314 ASSERT_FALSE(PathExists(non_existent_path)); 314 ASSERT_FALSE(PathExists(non_existent_path));
315 EXPECT_FALSE(RemoveQuarantineAttribute(non_existent_path)); 315 EXPECT_FALSE(RemoveQuarantineAttribute(non_existent_path));
316 } 316 }
317 317
318 } // namespace 318 } // namespace
319 319
320 } // namespace mac 320 } // namespace mac
321 } // namespace base 321 } // namespace base
OLDNEW
« no previous file with comments | « base/mac/libdispatch_task_runner_unittest.cc ('k') | base/mac/objc_property_releaser_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698