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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ImageDecoderTestHelpers.h

Issue 2490473005: Pull up equivalent image decoding tests (Closed)
Patch Set: Fixed feedback on patch 1 and ran WebKit formnatting 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/ImageDecoderTestHelpers.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTestHelpers.h b/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTestHelpers.h
index d860e5087f22439af91d4acd8e156994e60371d3..a4bdf9fcf6dfe1045b6661c258e742ed0c222cb0 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTestHelpers.h
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTestHelpers.h
@@ -25,4 +25,19 @@ void testByteByByteDecode(DecoderCreator createDecoder,
size_t expectedFrameCount,
int expectedRepetitionCount);
void testMergeBuffer(DecoderCreator createDecoder, const char* file);
+void testRandomFrameDecode(DecoderCreator,
+ const char* file,
+ size_t skippingStep = 5);
+void testRandomDecodeAfterClearFrameBufferCache(DecoderCreator,
+ const char* file,
+ size_t skippingStep = 5);
+void testDecodeAfterReallocatingData(DecoderCreator, const char* file);
+void testByteByByteSizeAvailable(DecoderCreator,
+ const char* file,
+ size_t frameOffset,
+ bool hasColorSpace,
+ int expectedRepetitionCount);
+void testProgressiveDecoding(DecoderCreator,
+ const char* file,
+ size_t incrementi = 1);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698