chromium/third_party/blink/renderer/core/paint/paint_layer_painter_test.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/paint/paint_layer_painter.h"

#include "testing/gmock/include/gmock/gmock.h"
#include "third_party/blink/renderer/core/layout/layout_box_model_object.h"
#include "third_party/blink/renderer/core/paint/cull_rect_updater.h"
#include "third_party/blink/renderer/core/paint/paint_controller_paint_test.h"
#include "third_party/blink/renderer/platform/graphics/graphics_context.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/testing/find_cc_layer.h"
#include "third_party/blink/renderer/platform/testing/paint_property_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"

Contains;
ElementsAre;
UnorderedElementsAre;

namespace blink {

class PaintLayerPainterTest : public PaintControllerPaintTest {};

INSTANTIATE_PAINT_TEST_SUITE_P();

TEST_P(PaintLayerPainterTest, CachedSubsequenceAndChunksWithBackgrounds) {}

TEST_P(PaintLayerPainterTest, CachedSubsequenceAndChunksWithoutBackgrounds) {}

TEST_P(PaintLayerPainterTest, CachedSubsequenceOnCullRectChange) {}

TEST_P(PaintLayerPainterTest,
       CachedSubsequenceOnCullRectChangeUnderInvalidationChecking) {}

TEST_P(PaintLayerPainterTest,
       CachedSubsequenceOnStyleChangeWithCullRectClipping) {}

TEST_P(PaintLayerPainterTest, CachedSubsequenceRetainsPreviousPaintResult) {}

TEST_P(PaintLayerPainterTest, PaintPhaseOutline) {}

TEST_P(PaintLayerPainterTest, PaintPhaseFloat) {}

TEST_P(PaintLayerPainterTest, PaintPhaseFloatUnderInlineLayer) {}

TEST_P(PaintLayerPainterTest, PaintPhasesUpdateOnLayerAddition) {}

TEST_P(PaintLayerPainterTest, PaintPhasesUpdateOnBecomingSelfPainting) {}

TEST_P(PaintLayerPainterTest, PaintPhasesUpdateOnBecomingNonSelfPainting) {}

TEST_P(PaintLayerPainterTest, PaintWithOverriddenCullRect) {}

class PaintLayerPainterPaintedOutputInvisibleTest
    : public PaintLayerPainterTest {};

INSTANTIATE_PAINT_TEST_SUITE_P();

TEST_P(PaintLayerPainterPaintedOutputInvisibleTest, TinyOpacity) {}

TEST_P(PaintLayerPainterPaintedOutputInvisibleTest,
       TinyOpacityAndWillChangeOpacity) {}

TEST_P(PaintLayerPainterPaintedOutputInvisibleTest,
       TinyOpacityAndBackdropFilter) {}

TEST_P(PaintLayerPainterPaintedOutputInvisibleTest,
       TinyOpacityAndWillChangeTransform) {}

TEST_P(PaintLayerPainterPaintedOutputInvisibleTest, NonTinyOpacity) {}

TEST_P(PaintLayerPainterPaintedOutputInvisibleTest,
       NonTinyOpacityAndWillChangeOpacity) {}

}  // namespace blink