| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/strings/sys_string_conversions.h" | 7 #include "base/strings/sys_string_conversions.h" | 
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" | 
| 9 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 9 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 
| 10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller.h" | 10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller.h" | 
| 11 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" | 11 #include "chrome/browser/ui/cocoa/test/cocoa_profile_test.h" | 
| 12 #include "chrome/grit/generated_resources.h" | 12 #include "chrome/grit/generated_resources.h" | 
| 13 #include "chrome/test/base/test_browser_window.h" | 13 #include "chrome/test/base/test_browser_window.h" | 
| 14 #include "chrome/test/base/testing_profile.h" | 14 #include "chrome/test/base/testing_profile.h" | 
| 15 #include "components/bookmarks/browser/bookmark_model.h" | 15 #include "components/bookmarks/browser/bookmark_model.h" | 
| 16 #include "components/strings/grit/components_strings.h" | 16 #include "components/strings/grit/components_strings.h" | 
| 17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" | 
| 18 #import "testing/gtest_mac.h" | 18 #import "testing/gtest_mac.h" | 
| 19 #include "testing/platform_test.h" | 19 #include "testing/platform_test.h" | 
| 20 #include "ui/base/l10n/l10n_util_mac.h" | 20 #include "ui/base/l10n/l10n_util_mac.h" | 
| 21 | 21 | 
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 272       reinterpret_cast<const BookmarkNode*>(&children); | 272       reinterpret_cast<const BookmarkNode*>(&children); | 
| 273   BookmarkFolderInfo* info = | 273   BookmarkFolderInfo* info = | 
| 274     [BookmarkFolderInfo bookmarkFolderInfoWithFolderName:@"name" | 274     [BookmarkFolderInfo bookmarkFolderInfoWithFolderName:@"name" | 
| 275                                               folderNode:fakeNode | 275                                               folderNode:fakeNode | 
| 276                                                 children:children]; | 276                                                 children:children]; | 
| 277   EXPECT_TRUE(info); | 277   EXPECT_TRUE(info); | 
| 278   EXPECT_EQ([info folderName], @"name"); | 278   EXPECT_EQ([info folderName], @"name"); | 
| 279   EXPECT_EQ([info children], children); | 279   EXPECT_EQ([info children], children); | 
| 280   EXPECT_EQ([info folderNode], fakeNode); | 280   EXPECT_EQ([info folderNode], fakeNode); | 
| 281 } | 281 } | 
| OLD | NEW | 
|---|