OLD | NEW |
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 "chrome/browser/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
8 #include "chrome/browser/ui/browser.h" | 8 #include "chrome/browser/ui/browser.h" |
9 #import "chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript.h" | 9 #import "chrome/browser/ui/cocoa/applescript/browsercrapplication+applescript.h" |
10 #import "chrome/browser/ui/cocoa/applescript/constants_applescript.h" | 10 #import "chrome/browser/ui/cocoa/applescript/constants_applescript.h" |
11 #import "chrome/browser/ui/cocoa/applescript/window_applescript.h" | 11 #import "chrome/browser/ui/cocoa/applescript/window_applescript.h" |
12 #include "chrome/test/in_process_browser_test.h" | 12 #include "chrome/test/in_process_browser_test.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "testing/gtest_mac.h" | 14 #include "testing/gtest_mac.h" |
15 | 15 |
16 typedef InProcessBrowserTest BrowserCrApplicationAppleScriptTest; | 16 typedef InProcessBrowserTest BrowserCrApplicationAppleScriptTest; |
17 | 17 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 EXPECT_EQ(NSApp, | 98 EXPECT_EQ(NSApp, |
99 [bookmarkFolder container]); | 99 [bookmarkFolder container]); |
100 EXPECT_NSEQ(AppleScript::kBookmarkFoldersProperty, | 100 EXPECT_NSEQ(AppleScript::kBookmarkFoldersProperty, |
101 [bookmarkFolder containerProperty]); | 101 [bookmarkFolder containerProperty]); |
102 } | 102 } |
103 | 103 |
104 EXPECT_NSEQ(@"Other Bookmarks", [[NSApp otherBookmarks] title]); | 104 EXPECT_NSEQ(@"Other Bookmarks", [[NSApp otherBookmarks] title]); |
105 EXPECT_NSEQ(@"Bookmarks Bar", [[NSApp bookmarksBar] title]); | 105 EXPECT_NSEQ(@"Bookmarks Bar", [[NSApp bookmarksBar] title]); |
106 } | 106 } |
107 | 107 |
OLD | NEW |