OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/ui/touch/tabs/touch_tab_strip.h" | |
6 | |
7 #include "chrome/browser/ui/views/tabs/base_tab_strip_test_fixture.h" | |
8 #include "chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h" | |
9 #include "testing/gtest/include/gtest/gtest.h" | |
10 | |
11 // BaseTabStrip unit tests using TouchTabStrip. | |
12 INSTANTIATE_TYPED_TEST_CASE_P(TouchTabStrip, | |
13 BaseTabStripTestFixture, | |
14 TouchTabStrip); | |
15 | |
16 class TouchTabStripTestFixture : public testing::Test { | |
17 public: | |
18 TouchTabStripTestFixture() | |
19 : tab_strip_(new FakeBaseTabStripController()) { | |
20 } | |
21 | |
22 protected: | |
23 TouchTabStrip* tab_strip() { return &tab_strip_; } | |
24 | |
25 private: | |
26 TouchTabStrip tab_strip_; | |
27 }; | |
28 | |
OLD | NEW |