TEST(AnimatedWebPTests, parseAndDecodeByteByByte) { testByteByByteDecode(&createDecoder, "/LayoutTests/images/resources/webp-animated.webp", 3u, cAnimationLoopInfinite); testByteByByteDecode( &createDecoder, "/LayoutTests/images/resources/webp-animated-icc-xmp.webp", 13u, 32000); }
TEST(ICOImageDecoderTests, parseAndDecodeByteByByte) { testByteByByteDecode(&createDecoder, "/LayoutTests/images/resources/2entries.ico", 2u, cAnimationNone); testByteByByteDecode(&createDecoder, "/LayoutTests/images/resources/greenbox-3frames.cur", 3u, cAnimationNone); testByteByByteDecode( &createDecoder, "/LayoutTests/images/resources/icon-without-and-bitmap.ico", 1u, cAnimationNone); testByteByByteDecode(&createDecoder, "/LayoutTests/images/resources/1bit.ico", 1u, cAnimationNone); testByteByByteDecode(&createDecoder, "/LayoutTests/images/resources/bug653075.ico", 2u, cAnimationNone); }
TEST(StaticWebPTests, incrementalDecode) { // Regression test for a bug where some valid images were failing to decode incrementally. testByteByByteDecode("/LayoutTests/fast/images/resources/crbug.364830.webp", 1u, cAnimationNone); }
// Regression test for a bug where some valid images were failing to decode // incrementally. TEST(StaticWebPTests, incrementalDecode) { testByteByByteDecode(&createDecoder, "/LayoutTests/images/resources/crbug.364830.webp", 1u, cAnimationNone); }