OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stdio.h> | 5 #include <stdio.h> |
6 #include <cmath> | 6 #include <cmath> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include <GLES2/gl2.h> | 10 #include <GLES2/gl2.h> |
11 #include <GLES2/gl2ext.h> | 11 #include <GLES2/gl2ext.h> |
12 #include <GLES2/gl2extchromium.h> | 12 #include <GLES2/gl2extchromium.h> |
13 | 13 |
14 #include "base/at_exit.h" | 14 #include "base/at_exit.h" |
15 #include "base/bind.h" | 15 #include "base/bind.h" |
16 #include "base/command_line.h" | 16 #include "base/command_line.h" |
17 #include "base/debug/trace_event.h" | 17 #include "base/debug/trace_event.h" |
18 #include "base/file_util.h" | 18 #include "base/files/file_util.h" |
19 #include "base/json/json_reader.h" | 19 #include "base/json/json_reader.h" |
20 #include "base/message_loop/message_loop.h" | 20 #include "base/message_loop/message_loop.h" |
21 #include "base/run_loop.h" | 21 #include "base/run_loop.h" |
22 #include "base/strings/stringprintf.h" | 22 #include "base/strings/stringprintf.h" |
23 #include "base/synchronization/waitable_event.h" | 23 #include "base/synchronization/waitable_event.h" |
24 #include "base/time/time.h" | 24 #include "base/time/time.h" |
25 #include "content/common/gpu/client/gl_helper.h" | 25 #include "content/common/gpu/client/gl_helper.h" |
26 #include "content/common/gpu/client/gl_helper_readback_support.h" | 26 #include "content/common/gpu/client/gl_helper_readback_support.h" |
27 #include "content/common/gpu/client/gl_helper_scaling.h" | 27 #include "content/common/gpu/client/gl_helper_scaling.h" |
28 #include "content/public/test/unittest_test_suite.h" | 28 #include "content/public/test/unittest_test_suite.h" |
(...skipping 1925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1954 base::CommandLine::Init(argc, argv); | 1954 base::CommandLine::Init(argc, argv); |
1955 base::TestSuite* suite = new content::ContentTestSuite(argc, argv); | 1955 base::TestSuite* suite = new content::ContentTestSuite(argc, argv); |
1956 #if defined(OS_MACOSX) | 1956 #if defined(OS_MACOSX) |
1957 base::mac::ScopedNSAutoreleasePool pool; | 1957 base::mac::ScopedNSAutoreleasePool pool; |
1958 #endif | 1958 #endif |
1959 | 1959 |
1960 content::UnitTestTestSuite runner(suite); | 1960 content::UnitTestTestSuite runner(suite); |
1961 base::MessageLoop message_loop; | 1961 base::MessageLoop message_loop; |
1962 return runner.Run(); | 1962 return runner.Run(); |
1963 } | 1963 } |
OLD | NEW |