chromium/third_party/blink/renderer/core/paint/timing/image_element_timing_test.cc

// Copyright 2019 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/timing/image_element_timing.h"

#include "third_party/blink/renderer/core/frame/frame_test_helpers.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/core/layout/layout_image.h"
#include "third_party/blink/renderer/core/layout/svg/layout_svg_image.h"
#include "third_party/blink/renderer/core/loader/resource/image_resource_content.h"
#include "third_party/blink/renderer/core/paint/timing/media_record_id.h"
#include "third_party/blink/renderer/platform/graphics/unaccelerated_static_bitmap_image.h"
#include "third_party/blink/renderer/platform/testing/paint_test_configurations.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/url_test_helpers.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkSurface.h"

namespace blink {

namespace internal {
extern bool IsExplicitlyRegisteredForTiming(const LayoutObject& layout_object);
}

class ImageElementTimingTest : public testing::Test,
                               public PaintTestConfigurations {};

INSTANTIATE_PAINT_TEST_SUITE_P();

TEST_P(ImageElementTimingTest, TestIsExplicitlyRegisteredForTiming) {}

TEST_P(ImageElementTimingTest, IgnoresUnmarkedElement) {}

TEST_P(ImageElementTimingTest, ImageInsideSVG) {}

TEST_P(ImageElementTimingTest, ImageInsideNonRenderedSVG) {}

TEST_P(ImageElementTimingTest, ImageRemoved) {}

TEST_P(ImageElementTimingTest, SVGImageRemoved) {}

TEST_P(ImageElementTimingTest, BackgroundImageRemoved) {}

}  // namespace blink