| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_APPLESCRIPT_UTILS_UNITTEST_
H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_APPLESCRIPT_UTILS_UNITTEST_
H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_APPLESCRIPT_UTILS_UNITTEST_
H_ | 6 #define CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_APPLESCRIPT_UTILS_UNITTEST_
H_ |
| 7 | 7 |
| 8 #import <objc/objc-runtime.h> | 8 #import <objc/objc-runtime.h> |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 Method alternateMethod_; | 34 Method alternateMethod_; |
| 35 } | 35 } |
| 36 @end | 36 @end |
| 37 | 37 |
| 38 | 38 |
| 39 // The base class for all our bookmark releated unit tests. | 39 // The base class for all our bookmark releated unit tests. |
| 40 class BookmarkAppleScriptTest : public CocoaProfileTest { | 40 class BookmarkAppleScriptTest : public CocoaProfileTest { |
| 41 public: | 41 public: |
| 42 BookmarkAppleScriptTest(); | 42 BookmarkAppleScriptTest(); |
| 43 virtual ~BookmarkAppleScriptTest(); | 43 virtual ~BookmarkAppleScriptTest(); |
| 44 virtual void SetUp(); | 44 virtual void SetUp() OVERRIDE; |
| 45 private: | 45 private: |
| 46 scoped_nsobject<FakeAppDelegate> appDelegate_; | 46 scoped_nsobject<FakeAppDelegate> appDelegate_; |
| 47 protected: | 47 protected: |
| 48 scoped_nsobject<BookmarkFolderAppleScript> bookmarkBar_; | 48 scoped_nsobject<BookmarkFolderAppleScript> bookmarkBar_; |
| 49 BookmarkModel& model(); | 49 BookmarkModel& model(); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 #endif | 52 #endif |
| 53 // CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_APPLESCRIPT_UTILS_UNITTEST_H_ | 53 // CHROME_BROWSER_UI_COCOA_APPLESCRIPT_BOOKMARK_APPLESCRIPT_UTILS_UNITTEST_H_ |
| OLD | NEW |