chromium/third_party/blink/renderer/core/css/font_display_auto_lcp_align_test.cc

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

#include "base/test/scoped_feature_list.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/renderer/core/css/font_face_set_document.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/core/loader/document_loader.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/core/testing/sim/sim_request.h"
#include "third_party/blink/renderer/core/testing/sim/sim_test.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"

namespace blink {

class FontDisplayAutoLCPAlignTestBase : public SimTest {};

class FontDisplayAutoLCPAlignFailureModeTest
    : public FontDisplayAutoLCPAlignTestBase {};

TEST_F(FontDisplayAutoLCPAlignFailureModeTest, FontFinishesBeforeLCPLimit) {}

TEST_F(FontDisplayAutoLCPAlignFailureModeTest, FontFinishesAfterLCPLimit) {}

TEST_F(FontDisplayAutoLCPAlignFailureModeTest, FontFaceAddedAfterLCPLimit) {}

TEST_F(FontDisplayAutoLCPAlignFailureModeTest,
       FontFaceInMemoryCacheAddedAfterLCPLimit) {}

// https://crbug.com/1065508
TEST_F(FontDisplayAutoLCPAlignFailureModeTest,
       TimeoutFiredAfterDocumentShutdown) {}

TEST_F(FontDisplayAutoLCPAlignFailureModeTest, IconAndNonIconFonts) {}

class FontDisplayAutoLCPAlignSwapModeTest
    : public FontDisplayAutoLCPAlignTestBase {};

TEST_F(FontDisplayAutoLCPAlignSwapModeTest, FontFinishesBeforeLCPLimit) {}

TEST_F(FontDisplayAutoLCPAlignSwapModeTest, FontFinishesAfterLCPLimit) {}

TEST_F(FontDisplayAutoLCPAlignSwapModeTest, FontFaceAddedAfterLCPLimit) {}

TEST_F(FontDisplayAutoLCPAlignSwapModeTest,
       FontFaceInMemoryCacheAddedAfterLCPLimit) {}

}  // namespace blink