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

Side by Side Diff: testing/gtest_mac.mm

Issue 1133713009: Subject .mm files to the header sorting presubmit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove some things included twice Created 5 years, 7 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
« no previous file with comments | « sync/util/get_session_name_mac.mm ('k') | testing/gtest_mac_unittest.mm » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "gtest_mac.h" 5 #import "gtest_mac.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include <gtest/gtest.h>
Nico 2015/05/19 04:31:47 (should these be "testing/gtest/include/gtest.h" e
tapted 2015/05/19 05:32:58 Hm. testing/gtest.gyp is missing 'include_dirs' +=
9 #include <gtest/internal/gtest-port.h> 10 #include <gtest/internal/gtest-port.h>
10 #include <gtest/internal/gtest-string.h> 11 #include <gtest/internal/gtest-string.h>
11 #include <gtest/gtest.h>
12 12
13 #ifdef GTEST_OS_MAC 13 #ifdef GTEST_OS_MAC
14 14
15 #import <Foundation/Foundation.h> 15 #import <Foundation/Foundation.h>
16 16
17 namespace testing { 17 namespace testing {
18 namespace internal { 18 namespace internal {
19 19
20 // Handles nil values for |obj| properly by using safe printing of %@ in 20 // Handles nil values for |obj| properly by using safe printing of %@ in
21 // -stringWithFormat:. 21 // -stringWithFormat:.
(...skipping 30 matching lines...) Expand all
52 msg << "Expected: (" << expected_expression << ") != (" << actual_expression 52 msg << "Expected: (" << expected_expression << ") != (" << actual_expression
53 << "), actual: " << StringDescription(expected) 53 << "), actual: " << StringDescription(expected)
54 << " vs " << StringDescription(actual); 54 << " vs " << StringDescription(actual);
55 return AssertionFailure(msg); 55 return AssertionFailure(msg);
56 } 56 }
57 57
58 } // namespace internal 58 } // namespace internal
59 } // namespace testing 59 } // namespace testing
60 60
61 #endif // GTEST_OS_MAC 61 #endif // GTEST_OS_MAC
OLDNEW
« no previous file with comments | « sync/util/get_session_name_mac.mm ('k') | testing/gtest_mac_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698