#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/platform/graphics/parkable_image.h"
#include "base/test/task_environment.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 {
const char g_abc[] = …;
const char g_123[] = …;
}
class ParkableImageSegmentReaderTest : public testing::Test { … };
TEST_F(ParkableImageSegmentReaderTest, Empty) { … }
TEST_F(ParkableImageSegmentReaderTest, NonEmpty) { … }
TEST_F(ParkableImageSegmentReaderTest, Append) { … }
TEST_F(ParkableImageSegmentReaderTest, GetSomeData) { … }
TEST_F(ParkableImageSegmentReaderTest, GetAsSkData) { … }
TEST_F(ParkableImageSegmentReaderTest, GetAsSkDataLongLived) { … }
}