#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/platform/graphics/paint/display_item_raster_invalidator.h"
#include "base/functional/callback_helpers.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_artifact.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_controller_test.h"
#include "third_party/blink/renderer/platform/testing/paint_property_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/paint_test_configurations.h"
#include "third_party/blink/renderer/platform/testing/test_paint_artifact.h"
#include "ui/gfx/geometry/point_f.h"
namespace blink {
UnorderedElementsAre;
class DisplayItemRasterInvalidatorTest : public PaintControllerTestBase,
public PaintTestConfigurations,
public RasterInvalidator::Callback { … };
class RasterInvalidationPaintController : public PaintControllerForTest { … };
int RasterInvalidationPaintController::sequence_number_ = …;
INSTANTIATE_PAINT_TEST_SUITE_P(…);
TEST_P(DisplayItemRasterInvalidatorTest, FullInvalidationWithoutLayoutChange) { … }
TEST_P(DisplayItemRasterInvalidatorTest, FullInvalidationWithGeometryChange) { … }
TEST_P(DisplayItemRasterInvalidatorTest, RemoveItemInMiddle) { … }
TEST_P(DisplayItemRasterInvalidatorTest, SwapOrder) { … }
TEST_P(DisplayItemRasterInvalidatorTest, SwapOrderAndInvalidateFirst) { … }
TEST_P(DisplayItemRasterInvalidatorTest, SwapOrderAndInvalidateSecond) { … }
TEST_P(DisplayItemRasterInvalidatorTest, SwapOrderWithIncrementalInvalidation) { … }
TEST_P(DisplayItemRasterInvalidatorTest, NewItemInMiddle) { … }
TEST_P(DisplayItemRasterInvalidatorTest, Incremental) { … }
TEST_P(DisplayItemRasterInvalidatorTest, AddRemoveFirstAndInvalidateSecond) { … }
TEST_P(DisplayItemRasterInvalidatorTest, InvalidateFirstAndAddRemoveSecond) { … }
TEST_P(DisplayItemRasterInvalidatorTest, SwapOrderWithChildren) { … }
TEST_P(DisplayItemRasterInvalidatorTest, SwapOrderWithChildrenAndInvalidation) { … }
TEST_P(DisplayItemRasterInvalidatorTest, SwapOrderCrossingChunks) { … }
TEST_P(DisplayItemRasterInvalidatorTest, SkipCache) { … }
TEST_P(DisplayItemRasterInvalidatorTest, PartialSkipCache) { … }
}