#include "third_party/blink/renderer/core/loader/progress_tracker.h"
#include "base/auto_reset.h"
#include "base/run_loop.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/frame/frame_test_helpers.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/core/testing/fake_local_frame_host.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_response.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
namespace blink {
class ProgressTrackerTest : public testing::Test, public FakeLocalFrameHost { … };
TEST_F(ProgressTrackerTest, Static) { … }
TEST_F(ProgressTrackerTest, MainResourceOnly) { … }
TEST_F(ProgressTrackerTest, WithHighPriorirySubresource) { … }
TEST_F(ProgressTrackerTest, WithMediumPrioritySubresource) { … }
TEST_F(ProgressTrackerTest, FinishParsingBeforeContentfulPaint) { … }
TEST_F(ProgressTrackerTest, ContentfulPaintBeforeFinishParsing) { … }
}