OLD | NEW |
1 // Copyright (c) 2011 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 #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 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
14 #include "base/memory/scoped_ptr.h" | |
15 | 14 |
16 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
17 | 16 |
18 namespace WebKit { class WebImageDecoder; } | 17 namespace WebKit { class WebImageDecoder; } |
19 | 18 |
20 // 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 |
21 // 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. |
22 // | 21 // |
23 // To recalculate the MD5 sums, uncommment CALCULATE_MD5_SUMS. | 22 // To recalculate the MD5 sums, uncommment CALCULATE_MD5_SUMS. |
24 // | 23 // |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 77 |
79 protected: | 78 protected: |
80 // Path to the test files. | 79 // Path to the test files. |
81 FilePath data_dir_; | 80 FilePath data_dir_; |
82 | 81 |
83 private: | 82 private: |
84 DISALLOW_COPY_AND_ASSIGN(ImageDecoderTest); | 83 DISALLOW_COPY_AND_ASSIGN(ImageDecoderTest); |
85 }; | 84 }; |
86 | 85 |
87 #endif // WEBKIT_TOOLS_TEST_SHELL_IMAGE_DECODER_UNITTEST_H_ | 86 #endif // WEBKIT_TOOLS_TEST_SHELL_IMAGE_DECODER_UNITTEST_H_ |
OLD | NEW |