Fix build break
[chromium-blink-merge.git] / ui / keyboard / keyboard_test_suite.cc
blobf756a13ebd867d8e33977b3a3379f636afe0d3fd
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 #include "base/basictypes.h"
6 #include "base/compiler_specific.h"
7 #include "ui/compositor/compositor_setup.h"
8 #include "ui/compositor/test/compositor_test_support.h"
9 #include "ui/test/test_suite.h"
11 class KeyboardTestSuite : public ui::test::UITestSuite {
12 public:
13 KeyboardTestSuite(int argc, char** argv)
14 : ui::test::UITestSuite(argc, argv) {
17 protected:
18 virtual void Initialize() OVERRIDE;
19 virtual void Shutdown() OVERRIDE;
21 private:
22 DISALLOW_COPY_AND_ASSIGN(KeyboardTestSuite);
25 void KeyboardTestSuite::Initialize() {
26 ui::test::UITestSuite::Initialize();
28 ui::CompositorTestSupport::Initialize();
29 ui::SetupTestCompositor();
32 void KeyboardTestSuite::Shutdown() {
33 ui::CompositorTestSupport::Terminate();
34 ui::test::UITestSuite::Shutdown();
37 int main(int argc, char** argv) {
38 return KeyboardTestSuite(argc, argv).Run();