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

Side by Side Diff: ui/base/resource/resource_bundle_mac_unittest.mm

Issue 1454113004: resource_bundle_mac_unittest.mm: fix case for AppKit/AppKit.h (Closed) 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ui/base/resource/resource_bundle.h" 5 #include "ui/base/resource/resource_bundle.h"
6 6
7 #import <Appkit/Appkit.h> 7 #import <AppKit/AppKit.h>
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/big_endian.h" 10 #include "base/big_endian.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/memory/ref_counted_memory.h" 15 #include "base/memory/ref_counted_memory.h"
16 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 // Design pack, any images it contains should override the ones in the default 193 // Design pack, any images it contains should override the ones in the default
194 // pack, so if both packs contain the same image, the returned NSImage should 194 // pack, so if both packs contain the same image, the returned NSImage should
195 // contain just a single representation. 195 // contain just a single representation.
196 NSImage* icon = resource_bundle->GetNativeImageNamed(3).ToNSImage(); 196 NSImage* icon = resource_bundle->GetNativeImageNamed(3).ToNSImage();
197 const unsigned long representations_count = [[icon representations] count]; 197 const unsigned long representations_count = [[icon representations] count];
198 const unsigned long expected_count = 1; 198 const unsigned long expected_count = 1;
199 EXPECT_EQ(expected_count, representations_count); 199 EXPECT_EQ(expected_count, representations_count);
200 } 200 }
201 201
202 } // namespace ui 202 } // namespace ui
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698