chromium/content/test/test_render_frame_host_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 "content/test/test_render_frame_host.h"

#include <string>
#include <vector>

#include "content/public/browser/web_contents_observer.h"
#include "content/test/navigation_simulator_impl.h"
#include "content/test/test_render_view_host.h"
#include "content/test/test_web_contents.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace content {

class TestRenderFrameHostTest : public RenderViewHostImplTestHarness,
                                public WebContentsObserver {};

// These tests check that the loading events simulated by NavigationSimulator
// together with TestRenderFrameHost::SimulateLoadingCompleted match
// the real behaviour, captured by the browser tests.
//
// Keep in sync with WebContentsImplBrowserTest.LoadingCallbacksOrder_*.
TEST_F(TestRenderFrameHostTest, LoadingCallbacksOrder_CrossDocument) {}

TEST_F(TestRenderFrameHostTest, LoadingCallbacksOrder_SameDocument) {}

}  // namespace content