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
{
13 KeyboardTestSuite(int argc
, char** argv
)
14 : ui::test::UITestSuite(argc
, argv
) {
18 virtual void Initialize() OVERRIDE
;
19 virtual void Shutdown() OVERRIDE
;
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();