Index: content/renderer/ico_image_decoder_unittest.cc |
diff --git a/webkit/tools/webcore_unit_tests/ICOImageDecoder_unittest.cpp b/content/renderer/ico_image_decoder_unittest.cc |
similarity index 81% |
rename from webkit/tools/webcore_unit_tests/ICOImageDecoder_unittest.cpp |
rename to content/renderer/ico_image_decoder_unittest.cc |
index dd6470294755d7067e0891e76a3d188b85820b88..1beffc535a80cf40bd92bcd882b8f80d621ada7f 100644 |
--- a/webkit/tools/webcore_unit_tests/ICOImageDecoder_unittest.cpp |
+++ b/content/renderer/ico_image_decoder_unittest.cc |
@@ -2,10 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "base/files/file_path.h" |
#include "base/file_util.h" |
+#include "base/files/file_path.h" |
+#include "content/test/image_decoder_test.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebImageDecoder.h" |
-#include "webkit/tools/test_shell/image_decoder_unittest.h" |
using WebKit::WebImageDecoder; |
@@ -14,16 +14,16 @@ class ICOImageDecoderTest : public ImageDecoderTest { |
ICOImageDecoderTest() : ImageDecoderTest("ico") { } |
protected: |
- virtual WebKit::WebImageDecoder* CreateWebKitImageDecoder() const OVERRIDE { |
+ virtual WebKit::WebImageDecoder* CreateWebKitImageDecoder() const OVERRIDE { |
return new WebKit::WebImageDecoder(WebKit::WebImageDecoder::TypeICO); |
} |
}; |
-TEST_F(ICOImageDecoderTest, Decoding) { |
+TEST_F(ICOImageDecoderTest, MANUAL_Decoding) { |
TestDecoding(); |
} |
-TEST_F(ICOImageDecoderTest, ImageNonZeroFrameIndex) { |
+TEST_F(ICOImageDecoderTest, MANUAL_ImageNonZeroFrameIndex) { |
// Test that the decoder decodes multiple sizes of icons which have them. |
// Load an icon that has both favicon-size and larger entries. |
base::FilePath multisize_icon_path(data_dir_.AppendASCII("yahoo.ico")); |