chromium/third_party/blink/renderer/platform/graphics/paint/paint_under_invalidation_checker_test.cc

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

#include "build/build_config.h"
#include "third_party/blink/renderer/platform/graphics/graphics_context.h"
#include "third_party/blink/renderer/platform/graphics/paint/display_item_cache_skipper.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_controller_test.h"
#include "third_party/blink/renderer/platform/graphics/paint/subsequence_recorder.h"
#include "third_party/blink/renderer/platform/testing/paint_test_configurations.h"

ElementsAre;

namespace blink {

// Death tests don't work properly on Android.
#if defined(GTEST_HAS_DEATH_TEST) && !BUILDFLAG(IS_ANDROID)

class PaintControllerUnderInvalidationTest
    : private ScopedPaintUnderInvalidationCheckingForTest,
      public PaintControllerTestBase {};

TEST_F(PaintControllerUnderInvalidationTest, ChangeDrawing) {}

TEST_F(PaintControllerUnderInvalidationTest, MoreDrawing) {}

TEST_F(PaintControllerUnderInvalidationTest, LessDrawing) {}

TEST_F(PaintControllerUnderInvalidationTest, ChangeDrawingInSubsequence) {}

TEST_F(PaintControllerUnderInvalidationTest, MoreDrawingInSubsequence) {}

TEST_F(PaintControllerUnderInvalidationTest, LessDrawingInSubsequence) {}

TEST_F(PaintControllerUnderInvalidationTest, InvalidationInSubsequence) {}

TEST_F(PaintControllerUnderInvalidationTest, SubsequenceBecomesEmpty) {}

TEST_F(PaintControllerUnderInvalidationTest, SkipCacheInSubsequence) {}

TEST_F(PaintControllerUnderInvalidationTest,
       EmptySubsequenceInCachedSubsequence) {}

#endif  // defined(GTEST_HAS_DEATH_TEST) && !BUILDFLAG(IS_ANDROID)

}  // namespace blink