Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1351)

Unified Diff: content/test/image_decoder_test.cc

Issue 12725006: Move image decoder unit tests to content_unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Now with more MANUAL_ Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/test/image_decoder_test.cc
diff --git a/webkit/tools/test_shell/image_decoder_unittest.cc b/content/test/image_decoder_test.cc
similarity index 98%
rename from webkit/tools/test_shell/image_decoder_unittest.cc
rename to content/test/image_decoder_test.cc
index bf9514b1c09144f0cef22dbdc1be406b9573d006..2e079457d0d076afea0c1d6b891227622b93911b 100644
--- a/webkit/tools/test_shell/image_decoder_unittest.cc
+++ b/content/test/image_decoder_test.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/tools/test_shell/image_decoder_unittest.h"
+#include "content/test/image_decoder_test.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
@@ -136,7 +136,7 @@ std::vector<base::FilePath> ImageDecoderTest::GetImageFiles() const {
}
bool ImageDecoderTest::ShouldImageFail(const base::FilePath& path) const {
- static const base::FilePath::StringType kBadSuffix(FILE_PATH_LITERAL(".bad."));
+ const base::FilePath::StringType kBadSuffix(FILE_PATH_LITERAL(".bad."));
return (path.value().length() > (kBadSuffix.length() + format_.length()) &&
!path.value().compare(path.value().length() - format_.length() -
kBadSuffix.length(),

Powered by Google App Engine
This is Rietveld 408576698