chromium/components/performance_manager/decorators/page_load_tracker_decorator_unittest.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 "components/performance_manager/decorators/page_load_tracker_decorator.h"

#include <memory>
#include <type_traits>
#include <utility>

#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "base/time/time.h"
#include "components/performance_manager/graph/frame_node_impl.h"
#include "components/performance_manager/graph/page_node_impl.h"
#include "components/performance_manager/graph/process_node_impl.h"
#include "components/performance_manager/test_support/graph_test_harness.h"
#include "components/performance_manager/test_support/mock_graphs.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace performance_manager {

// Aliasing these here makes this unittest much more legible.
Data;
LIS;
LS;

class PageLoadTrackerDecoratorTest : public GraphTestHarness {};

void PageLoadTrackerDecoratorTest::TestPageAlmostIdleTransitions(
    bool timeout_waiting_for_response,
    bool timeout_waiting_for_idle) {}

TEST_F(PageLoadTrackerDecoratorTest, TestTransitionsNoTimeout) {}

TEST_F(PageLoadTrackerDecoratorTest, TestTransitionsTimeoutWaitingForResponse) {}

TEST_F(PageLoadTrackerDecoratorTest, TestTransitionsTimeoutWaitingForIdle) {}

TEST_F(PageLoadTrackerDecoratorTest,
       TestTransitionsTimeoutWaitingForResponseAndWaitingForIdle) {}

TEST_F(PageLoadTrackerDecoratorTest, TestTransitionsNotIdlingOnDidStopLoading) {}

TEST_F(PageLoadTrackerDecoratorTest, TestStartLoadingAgainBeforeIdle) {}

TEST_F(PageLoadTrackerDecoratorTest, IsIdling) {}

}  // namespace performance_manager