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 // This has to be included first. | 5 // This has to be included first. |
6 // See http://code.google.com/p/googletest/issues/detail?id=371 | 6 // See http://code.google.com/p/googletest/issues/detail?id=371 |
7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
8 | 8 |
9 #include <stddef.h> | 9 #include <stddef.h> |
10 #include <stdint.h> | 10 #include <stdint.h> |
| 11 #include <string.h> |
11 | 12 |
12 #include "base/at_exit.h" | 13 #include "base/at_exit.h" |
13 #include "base/bind.h" | 14 #include "base/bind.h" |
14 #include "base/command_line.h" | 15 #include "base/command_line.h" |
15 #include "base/files/file_util.h" | 16 #include "base/files/file_util.h" |
16 #include "base/logging.h" | 17 #include "base/logging.h" |
17 #include "base/macros.h" | 18 #include "base/macros.h" |
18 #include "base/memory/scoped_vector.h" | 19 #include "base/memory/scoped_vector.h" |
19 #include "base/path_service.h" | 20 #include "base/path_service.h" |
20 #include "base/strings/string_piece.h" | 21 #include "base/strings/string_piece.h" |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 #endif | 579 #endif |
579 | 580 |
580 content::g_env = | 581 content::g_env = |
581 reinterpret_cast<content::JpegDecodeAcceleratorTestEnvironment*>( | 582 reinterpret_cast<content::JpegDecodeAcceleratorTestEnvironment*>( |
582 testing::AddGlobalTestEnvironment( | 583 testing::AddGlobalTestEnvironment( |
583 new content::JpegDecodeAcceleratorTestEnvironment( | 584 new content::JpegDecodeAcceleratorTestEnvironment( |
584 jpeg_filenames))); | 585 jpeg_filenames))); |
585 | 586 |
586 return RUN_ALL_TESTS(); | 587 return RUN_ALL_TESTS(); |
587 } | 588 } |
OLD | NEW |