#include "third_party/blink/renderer/platform/graphics/decoding_image_generator.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/image-decoders/image_decoder_test_helpers.h"
#include "third_party/blink/renderer/platform/image-decoders/segment_reader.h"
namespace blink {
namespace {
constexpr unsigned kTooShortForSignature = …;
scoped_refptr<SegmentReader> CreateSegmentReader(char* reference_data,
size_t data_length) { … }
}
class DecodingImageGeneratorTest : public testing::Test { … };
TEST_F(DecodingImageGeneratorTest, Create) { … }
TEST_F(DecodingImageGeneratorTest, CreateWithNoSize) { … }
TEST_F(DecodingImageGeneratorTest, CreateWithNullImageDecoder) { … }
TEST_F(DecodingImageGeneratorTest, AdjustedGetPixels) { … }
}