OLD | NEW |
---|---|
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/scoped_nsobject.h" | 7 #include "base/scoped_nsobject.h" |
8 #import "chrome/browser/ui/cocoa/tab_view.h" | 8 #import "chrome/browser/ui/cocoa/tabs/tab_view.h" |
9 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" | 9 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" |
Avi (use Gerrit)
2011/01/19 19:30:23
Alphabetize.
| |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
11 #include "testing/platform_test.h" | 11 #include "testing/platform_test.h" |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 class TabViewTest : public CocoaTest { | 15 class TabViewTest : public CocoaTest { |
16 public: | 16 public: |
17 TabViewTest() { | 17 TabViewTest() { |
18 NSRect frame = NSMakeRect(0, 0, 50, 30); | 18 NSRect frame = NSMakeRect(0, 0, 50, 30); |
19 scoped_nsobject<TabView> view([[TabView alloc] initWithFrame:frame]); | 19 scoped_nsobject<TabView> view([[TabView alloc] initWithFrame:frame]); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
51 [view_ startAlert]; | 51 [view_ startAlert]; |
52 [view_ cancelAlert]; | 52 [view_ cancelAlert]; |
53 } | 53 } |
54 [view_ startAlert]; | 54 [view_ startAlert]; |
55 [view_ startAlert]; | 55 [view_ startAlert]; |
56 [view_ cancelAlert]; | 56 [view_ cancelAlert]; |
57 [view_ cancelAlert]; | 57 [view_ cancelAlert]; |
58 } | 58 } |
59 | 59 |
60 } // namespace | 60 } // namespace |
OLD | NEW |