OLD | NEW |
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2010 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 #ifndef WEBKIT_TOOLS_TEST_SHELL_IMAGE_DECODER_UNITTEST_H_ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_IMAGE_DECODER_UNITTEST_H_ |
6 #define WEBKIT_TOOLS_TEST_SHELL_IMAGE_DECODER_UNITTEST_H_ | 6 #define WEBKIT_TOOLS_TEST_SHELL_IMAGE_DECODER_UNITTEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #if COMPILER(MSVC) | |
12 #pragma warning(disable: 4355) // 'this' used in initializer list | |
13 #endif | |
14 | |
15 #undef LOG | |
16 | |
17 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
18 #include "base/file_path.h" | 12 #include "base/file_path.h" |
19 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
20 | 14 |
21 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
22 | 16 |
23 namespace WebKit { class WebImageDecoder; } | 17 namespace WebKit { class WebImageDecoder; } |
24 | 18 |
25 // If CALCULATE_MD5_SUMS is not defined, then this test decodes a handful of | 19 // If CALCULATE_MD5_SUMS is not defined, then this test decodes a handful of |
26 // image files and compares their MD5 sums to the stored sums on disk. | 20 // image files and compares their MD5 sums to the stored sums on disk. |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 77 |
84 protected: | 78 protected: |
85 // Path to the test files. | 79 // Path to the test files. |
86 FilePath data_dir_; | 80 FilePath data_dir_; |
87 | 81 |
88 private: | 82 private: |
89 DISALLOW_COPY_AND_ASSIGN(ImageDecoderTest); | 83 DISALLOW_COPY_AND_ASSIGN(ImageDecoderTest); |
90 }; | 84 }; |
91 | 85 |
92 #endif // WEBKIT_TOOLS_TEST_SHELL_IMAGE_DECODER_UNITTEST_H_ | 86 #endif // WEBKIT_TOOLS_TEST_SHELL_IMAGE_DECODER_UNITTEST_H_ |
OLD | NEW |