OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <base/test/test_suite.h> | 5 #include <base/test/test_suite.h> |
6 #include <gmock/gmock.h> | 6 #include <gmock/gmock.h> |
7 #include <webkit/support/webkit_support.h> | 7 #include <webkit/support/webkit_support.h> |
8 | 8 |
9 int main(int argc, char** argv) { | 9 int main(int argc, char** argv) { |
10 ::testing::InitGoogleMock(&argc, argv); | 10 ::testing::InitGoogleMock(&argc, argv); |
11 TestSuite testSuite(argc, argv); | 11 TestSuite testSuite(argc, argv); |
12 webkit_support::SetUpTestEnvironmentForUnitTests(); | 12 webkit_support::SetUpTestEnvironmentForUnitTests(); |
13 int result = testSuite.Run(); | 13 int result = testSuite.Run(); |
14 webkit_support::TearDownTestEnvironment(); | 14 webkit_support::TearDownTestEnvironment(); |
15 | 15 |
16 return result; | 16 return result; |
17 } | 17 } |
18 | 18 |
OLD | NEW |