#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/platform/image-decoders/ico/ico_image_decoder.h"
#include <memory>
#include "base/files/file_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/image-decoders/image_decoder_base_test.h"
#include "third_party/blink/renderer/platform/image-decoders/image_decoder_test_helpers.h"
namespace blink {
namespace {
std::unique_ptr<ImageDecoder> CreateICODecoder() { … }
}
TEST(ICOImageDecoderTests, trunctedIco) { … }
TEST(ICOImageDecoderTests, errorInPngInIco) { … }
TEST(ICOImageDecoderTests, parseAndDecodeByteByByte) { … }
TEST(ICOImageDecoderTests, NullData) { … }
class ICOImageDecoderCorpusTest : public ImageDecoderBaseTest { … };
TEST_F(ICOImageDecoderCorpusTest, Decoding) { … }
TEST_F(ICOImageDecoderCorpusTest, ImageNonZeroFrameIndex) { … }
}