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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 years, 1 month 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: third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
index 1fb22ea28c13774883f9f2d4a2d6d57102d9a7d7..e29a63e9fb5fad2d3fb323759b6685f988cfefaa 100644
--- a/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
@@ -23,8 +23,7 @@ std::unique_ptr<ImageDecoder> createDecoder() {
} // anonymous namespace
TEST(BMPImageDecoderTest, isSizeAvailable) {
- const char* bmpFile =
- "/LayoutTests/fast/images/resources/lenna.bmp"; // 256x256
+ const char* bmpFile = "/LayoutTests/images/resources/lenna.bmp"; // 256x256
RefPtr<SharedBuffer> data = readFile(bmpFile);
ASSERT_TRUE(data.get());
@@ -36,8 +35,7 @@ TEST(BMPImageDecoderTest, isSizeAvailable) {
}
TEST(BMPImageDecoderTest, parseAndDecode) {
- const char* bmpFile =
- "/LayoutTests/fast/images/resources/lenna.bmp"; // 256x256
+ const char* bmpFile = "/LayoutTests/images/resources/lenna.bmp"; // 256x256
RefPtr<SharedBuffer> data = readFile(bmpFile);
ASSERT_TRUE(data.get());
@@ -54,7 +52,7 @@ TEST(BMPImageDecoderTest, parseAndDecode) {
// Test if a BMP decoder returns a proper error while decoding an empty image.
TEST(BMPImageDecoderTest, emptyImage) {
- const char* bmpFile = "/LayoutTests/fast/images/resources/0x0.bmp"; // 0x0
+ const char* bmpFile = "/LayoutTests/images/resources/0x0.bmp"; // 0x0
RefPtr<SharedBuffer> data = readFile(bmpFile);
ASSERT_TRUE(data.get());
@@ -69,7 +67,7 @@ TEST(BMPImageDecoderTest, emptyImage) {
TEST(BMPImageDecoderTest, int32MinHeight) {
const char* bmpFile =
- "/LayoutTests/fast/images/resources/1xint32_min.bmp"; // 0xINT32_MIN
+ "/LayoutTests/images/resources/1xint32_min.bmp"; // 0xINT32_MIN
RefPtr<SharedBuffer> data = readFile(bmpFile);
std::unique_ptr<ImageDecoder> decoder = createDecoder();
// Test when not all data is received.
@@ -83,7 +81,7 @@ TEST(BMPImageDecoderTest, int32MinHeight) {
// size (when BMPImageDecoder stops while it may still have input data to
// read) and a call to do a full decode.
TEST(BMPImageDecoderTest, mergeBuffer) {
- const char* bmpFile = "/LayoutTests/fast/images/resources/lenna.bmp";
+ const char* bmpFile = "/LayoutTests/images/resources/lenna.bmp";
testMergeBuffer(&createDecoder, bmpFile);
}

Powered by Google App Engine
This is Rietveld 408576698