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

Side by Side Diff: chrome/browser/ui/cocoa/find_bar/find_bar_text_field_unittest.mm

Issue 6366001: [Mac] Move the associated find bar files into a subdir of c/b/ui/cocoa/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #import "base/mac/cocoa_protocols.h" 7 #import "base/mac/cocoa_protocols.h"
8 #include "base/scoped_nsobject.h" 8 #include "base/scoped_nsobject.h"
9 #import "chrome/browser/ui/cocoa/find_bar_text_field.h" 9 #import "chrome/browser/ui/cocoa/find_bar/find_bar_text_field.h"
10 #import "chrome/browser/ui/cocoa/find_bar_text_field_cell.h" 10 #import "chrome/browser/ui/cocoa/find_bar/find_bar_text_field_cell.h"
11 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 11 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "testing/platform_test.h" 13 #include "testing/platform_test.h"
14 #import "third_party/ocmock/OCMock/OCMock.h" 14 #import "third_party/ocmock/OCMock/OCMock.h"
15 15
16 // OCMock wants to mock a concrete class or protocol. This should 16 // OCMock wants to mock a concrete class or protocol. This should
17 // provide a correct protocol for newer versions of the SDK, while 17 // provide a correct protocol for newer versions of the SDK, while
18 // providing something mockable for older versions. 18 // providing something mockable for older versions.
19 19
20 @protocol MockTextEditingDelegate<NSControlTextEditingDelegate> 20 @protocol MockTextEditingDelegate<NSControlTextEditingDelegate>
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // Test display of various cell configurations. 83 // Test display of various cell configurations.
84 FindBarTextFieldCell* cell = [field_ findBarTextFieldCell]; 84 FindBarTextFieldCell* cell = [field_ findBarTextFieldCell];
85 [cell setActiveMatch:4 of:5]; 85 [cell setActiveMatch:4 of:5];
86 [field_ display]; 86 [field_ display];
87 87
88 [cell clearResults]; 88 [cell clearResults];
89 [field_ display]; 89 [field_ display];
90 } 90 }
91 91
92 } // namespace 92 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698