chromium/services/network/public/cpp/supports_loading_mode/supports_loading_mode_parser_unittest.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 "services/network/public/cpp/supports_loading_mode/supports_loading_mode_parser.h"

#include "net/http/http_response_headers.h"
#include "services/network/public/mojom/supports_loading_mode.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace network {
namespace {

template <typename... ModeMatchers>
::testing::Matcher<mojom::SupportsLoadingModePtr> SupportedModesAre(
    ModeMatchers&&... modes) {}

TEST(SupportsLoadingModeParserTest, Valid) {}

TEST(SupportsLoadingModeParserTest, IgnoresUnknown) {}

TEST(SupportsLoadingModeParserTest, InvalidHttpStructuredHeaderList) {}

TEST(SupportsLoadingModeParserTest, ValidFromResponseHeaders) {}

}  // namespace
}  // namespace network