| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/macros.h" | 6 #include "base/macros.h" |
| 7 #include "base/test/launcher/unit_test_launcher.h" | 7 #include "base/test/launcher/unit_test_launcher.h" |
| 8 #include "base/test/test_suite.h" | 8 #include "base/test/test_suite.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "ui/gl/test/gl_image_test_support.h" | |
| 11 | 10 |
| 12 #if defined(OS_MACOSX) && !defined(OS_IOS) | 11 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 13 #include "base/test/mock_chrome_application_mac.h" | 12 #include "base/test/mock_chrome_application_mac.h" |
| 14 #endif | 13 #endif |
| 15 | 14 |
| 16 #if defined(USE_OZONE) | 15 #if defined(USE_OZONE) |
| 17 #include "base/command_line.h" | 16 #include "base/command_line.h" |
| 18 #include "base/message_loop/message_loop.h" | 17 #include "base/message_loop/message_loop.h" |
| 19 #include "ui/ozone/public/ozone_platform.h" | 18 #include "ui/ozone/public/ozone_platform.h" |
| 20 #endif | 19 #endif |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 } // namespace | 58 } // namespace |
| 60 | 59 |
| 61 int main(int argc, char** argv) { | 60 int main(int argc, char** argv) { |
| 62 GlTestSuite test_suite(argc, argv); | 61 GlTestSuite test_suite(argc, argv); |
| 63 | 62 |
| 64 return base::LaunchUnitTests( | 63 return base::LaunchUnitTests( |
| 65 argc, | 64 argc, |
| 66 argv, | 65 argv, |
| 67 base::Bind(&GlTestSuite::Run, base::Unretained(&test_suite))); | 66 base::Bind(&GlTestSuite::Run, base::Unretained(&test_suite))); |
| 68 } | 67 } |
| OLD | NEW |