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

Side by Side Diff: chrome/browser/cocoa/bookmark_folder_target_unittest.mm

Issue 3129007: FBTF: Forward declare everything possible in testing_profile.h (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: argh mac problems now Created 10 years, 4 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
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 #include "chrome/browser/bookmarks/bookmark_model.h"
5 #import "chrome/browser/cocoa/bookmark_bar_controller.h" 6 #import "chrome/browser/cocoa/bookmark_bar_controller.h"
6 #import "chrome/browser/cocoa/bookmark_bar_folder_controller.h" 7 #import "chrome/browser/cocoa/bookmark_bar_folder_controller.h"
7 #import "chrome/browser/cocoa/bookmark_folder_target.h" 8 #import "chrome/browser/cocoa/bookmark_folder_target.h"
8 #include "chrome/browser/cocoa/bookmark_button.h" 9 #include "chrome/browser/cocoa/bookmark_button.h"
9 #include "chrome/browser/cocoa/browser_test_helper.h" 10 #include "chrome/browser/cocoa/browser_test_helper.h"
10 #include "chrome/browser/cocoa/cocoa_test_helper.h" 11 #include "chrome/browser/cocoa/cocoa_test_helper.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 #include "testing/platform_test.h" 13 #include "testing/platform_test.h"
13 #import "third_party/ocmock/OCMock/OCMock.h" 14 #import "third_party/ocmock/OCMock/OCMock.h"
14 15
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 116
116 scoped_nsobject<BookmarkFolderTarget> target( 117 scoped_nsobject<BookmarkFolderTarget> target(
117 [[BookmarkFolderTarget alloc] initWithController:controller]); 118 [[BookmarkFolderTarget alloc] initWithController:controller]);
118 119
119 [target openBookmarkFolderFromButton:sender]; 120 [target openBookmarkFolderFromButton:sender];
120 [controller verify]; 121 [controller verify];
121 122
122 // Break retain cycles. 123 // Break retain cycles.
123 [controller clearRecordersAndExpectations]; 124 [controller clearRecordersAndExpectations];
124 } 125 }
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_editor_controller_unittest.mm ('k') | chrome/browser/cocoa/bookmark_menu_bridge_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698