OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "ui/views/widget/native_widget_mac.h" | 5 #include "ui/views/widget/native_widget_mac.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 | 8 |
| 9 #include "ui/views/test/test_widget_observer.h" |
9 #include "ui/views/test/widget_test.h" | 10 #include "ui/views/test/widget_test.h" |
10 #include "ui/views/test/test_widget_observer.h" | |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 namespace test { | 13 namespace test { |
14 | 14 |
15 // Tests for NativeWidgetMac that rely on global window manager state, and can | 15 // Tests for NativeWidgetMac that rely on global window manager state, and can |
16 // not be parallelized. | 16 // not be parallelized. |
17 class NativeWidgetMacInteractiveUITest | 17 class NativeWidgetMacInteractiveUITest |
18 : public WidgetTest, | 18 : public WidgetTest, |
19 public ::testing::WithParamInterface<bool> { | 19 public ::testing::WithParamInterface<bool> { |
20 public: | 20 public: |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 widget2->CloseNow(); | 128 widget2->CloseNow(); |
129 widget->CloseNow(); | 129 widget->CloseNow(); |
130 } | 130 } |
131 | 131 |
132 INSTANTIATE_TEST_CASE_P(NativeWidgetMacInteractiveUITestInstance, | 132 INSTANTIATE_TEST_CASE_P(NativeWidgetMacInteractiveUITestInstance, |
133 NativeWidgetMacInteractiveUITest, | 133 NativeWidgetMacInteractiveUITest, |
134 ::testing::Bool()); | 134 ::testing::Bool()); |
135 | 135 |
136 } // namespace test | 136 } // namespace test |
137 } // namespace views | 137 } // namespace views |
OLD | NEW |