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

Side by Side Diff: chrome/browser/cocoa/bookmark_editor_base_controller_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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "app/l10n_util_mac.h" 7 #include "app/l10n_util_mac.h"
8 #include "base/scoped_nsobject.h" 8 #include "base/scoped_nsobject.h"
9 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
10 #include "chrome/browser/bookmarks/bookmark_model.h"
10 #import "chrome/browser/cocoa/bookmark_editor_controller.h" 11 #import "chrome/browser/cocoa/bookmark_editor_controller.h"
11 #include "chrome/browser/cocoa/browser_test_helper.h" 12 #include "chrome/browser/cocoa/browser_test_helper.h"
12 #import "chrome/browser/cocoa/cocoa_test_helper.h" 13 #import "chrome/browser/cocoa/cocoa_test_helper.h"
13 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 #import "testing/gtest_mac.h" 16 #import "testing/gtest_mac.h"
16 #include "testing/platform_test.h" 17 #include "testing/platform_test.h"
17 18
18 class BookmarkEditorBaseControllerTest : public CocoaTest { 19 class BookmarkEditorBaseControllerTest : public CocoaTest {
19 public: 20 public:
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 reinterpret_cast<const BookmarkNode*>(&children); 224 reinterpret_cast<const BookmarkNode*>(&children);
224 BookmarkFolderInfo* info = 225 BookmarkFolderInfo* info =
225 [BookmarkFolderInfo bookmarkFolderInfoWithFolderName:@"name" 226 [BookmarkFolderInfo bookmarkFolderInfoWithFolderName:@"name"
226 folderNode:fakeNode 227 folderNode:fakeNode
227 children:children]; 228 children:children];
228 EXPECT_TRUE(info); 229 EXPECT_TRUE(info);
229 EXPECT_EQ([info folderName], @"name"); 230 EXPECT_EQ([info folderName], @"name");
230 EXPECT_EQ([info children], children); 231 EXPECT_EQ([info children], children);
231 EXPECT_EQ([info folderNode], fakeNode); 232 EXPECT_EQ([info folderNode], fakeNode);
232 } 233 }
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_button_unittest.mm ('k') | chrome/browser/cocoa/bookmark_editor_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698