OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #import "chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.h" | |
6 | |
7 #include "base/mac/scoped_nsobject.h" | |
8 #include "testing/gtest/include/gtest/gtest.h" | |
9 #import "ui/base/test/ui_cocoa_test_helper.h" | |
10 | |
11 namespace { | |
12 | |
13 class AutofillTooltipControllerTest: public ui::CocoaTest { | |
14 public: | |
15 virtual void SetUp() { | |
Robert Sesek
2013/12/02 17:16:53
OVERRIDE
groby-ooo-7-16
2013/12/02 20:41:57
Done.
| |
16 CocoaTest::SetUp(); | |
17 controller_.reset([[AutofillTooltipController alloc] init]); | |
18 [[test_window() contentView] addSubview:[controller_ view]]; | |
19 } | |
20 | |
21 protected: | |
22 base::scoped_nsobject<AutofillTooltipController> controller_; | |
23 }; | |
24 | |
25 } // namespace | |
26 | |
27 TEST_VIEW(AutofillTooltipControllerTest, [controller_ view]) | |
28 | |
Robert Sesek
2013/12/02 17:16:53
nit: extra blank lines
groby-ooo-7-16
2013/12/02 20:41:57
Done.
| |
29 | |
OLD | NEW |