chromium/third_party/blink/renderer/core/loader/ping_loader_test.cc

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

#include "third_party/blink/renderer/core/loader/ping_loader.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/loader/empty_clients.h"
#include "third_party/blink/renderer/core/loader/frame_loader.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/platform/loader/fetch/url_loader/url_loader_factory.h"
#include "third_party/blink/renderer/platform/network/encoded_form_data.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/url_loader_mock_factory.h"
#include "third_party/blink/renderer/platform/testing/url_test_helpers.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"

namespace blink {

namespace {

class PartialResourceRequest {};

class PingLocalFrameClient : public EmptyLocalFrameClient {};

class PingLoaderTest : public PageTestBase {};

TEST_F(PingLoaderTest, HTTPSToHTTPS) {}

TEST_F(PingLoaderTest, HTTPToHTTPS) {}

TEST_F(PingLoaderTest, NonHTTPPingTarget) {}

TEST_F(PingLoaderTest, LinkAuditPingPriority) {}

TEST_F(PingLoaderTest, ViolationPriority) {}

TEST_F(PingLoaderTest, FrameAncestorsViolationHasOpaqueOrigin) {}

TEST_F(PingLoaderTest, BeaconPriority) {}

}  // namespace

}  // namespace blink