chromium/third_party/blink/renderer/core/loader/resource/script_resource_test.cc

// Copyright 2020 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/resource/script_resource.h"

#include <string_view>

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink/renderer/platform/loader/fetch/url_loader/cached_metadata_handler.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/testing_platform_support.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
#include "third_party/blink/renderer/platform/weborigin/scheme_registry.h"
#include "third_party/blink/renderer/platform/wtf/text/text_encoding.h"

namespace blink {
namespace {

TEST(ScriptResourceTest, SuccessfulRevalidation) {}

TEST(ScriptResourceTest, FailedRevalidation) {}

TEST(ScriptResourceTest, RedirectDuringRevalidation) {}

TEST(ScriptResourceTest, WebUICodeCacheEnabled) {}

TEST(ScriptResourceTest, WebUICodeCacheDisabled) {}

TEST(ScriptResourceTest, CodeCacheEnabledByResponseFlag) {}

class MockTestingPlatformForCodeCache : public TestingPlatformSupport {};

TEST(ScriptResourceTest, WebUICodeCachePlatformOverride) {}

}  // namespace
}  // namespace blink