#include "third_party/blink/renderer/core/paint/nine_piece_image_grid.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/css/css_gradient_value.h"
#include "third_party/blink/renderer/core/style/nine_piece_image.h"
#include "third_party/blink/renderer/core/style/style_generated_image.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"
#include "ui/gfx/geometry/outsets.h"
namespace blink {
namespace {
class NinePieceImageGridTest : public RenderingTest { … };
TEST_F(NinePieceImageGridTest, NinePieceImagePainting_NoDrawables) { … }
TEST_F(NinePieceImageGridTest, NinePieceImagePainting_AllDrawable) { … }
TEST_F(NinePieceImageGridTest, NinePieceImagePainting_NoFillMiddleNotDrawable) { … }
TEST_F(NinePieceImageGridTest, NinePieceImagePainting_EmptySidesNotDrawable) { … }
TEST_F(NinePieceImageGridTest, NinePieceImagePainting_TopLeftDrawable) { … }
TEST_F(NinePieceImageGridTest, NinePieceImagePainting_ScaleDownBorder) { … }
TEST_F(NinePieceImageGridTest, NinePieceImagePainting_AbuttingEdges) { … }
TEST_F(NinePieceImageGridTest, NinePieceImagePainting) { … }
TEST_F(NinePieceImageGridTest, NinePieceImagePainting_Zoomed) { … }
TEST_F(NinePieceImageGridTest, NinePieceImagePainting_ZoomedNarrowSlices) { … }
TEST_F(NinePieceImageGridTest,
NinePieceImagePainting_ZoomedMiddleNoLeftRightEdge) { … }
}
}