chromium/third_party/blink/renderer/core/frame/web_local_frame_client_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.
//
// This test makes assertions about the order of various callbacks in the (very
// large) WebLocalFrameClient interface.

#include "third_party/blink/public/web/web_local_frame_client.h"

#include <utility>

#include "testing/gmock/include/gmock/gmock.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/web_local_frame_impl.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/blink/renderer/platform/wtf/text/wtf_string.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"

ToKURL;

namespace blink {

namespace {

class CallTrackingTestWebLocalFrameClient
    : public frame_test_helpers::TestWebFrameClient {};

TEST(WebLocalFrameClientTest, Basic) {}

// TODO(dcheng): Add test cases for iframes (i.e. iframe with no source, iframe
// with explicit source of about:blank, et cetera)

// TODO(dcheng): Add Javascript URL tests too.

}  // namespace

}  // namespace blink