Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / autofill / autofill_tooltip_controller_unittest.mm
blob5c4809a40d35022500fe3ba1645677c5cd4d0c74
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.
5 #import "chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.h"
7 #include "base/mac/scoped_nsobject.h"
8 #include "testing/gtest/include/gtest/gtest.h"
9 #import "ui/gfx/test/ui_cocoa_test_helper.h"
11 namespace {
13 class AutofillTooltipControllerTest: public ui::CocoaTest {
14  public:
15   void SetUp() override {
16     CocoaTest::SetUp();
17     controller_.reset([[AutofillTooltipController alloc]
18                            initWithArrowLocation:info_bubble::kTopCenter]);
19     [[test_window() contentView] addSubview:[controller_ view]];
20   }
22  protected:
23   base::scoped_nsobject<AutofillTooltipController> controller_;
26 }  // namespace
28 TEST_VIEW(AutofillTooltipControllerTest, [controller_ view])