chromium/services/network/public/cpp/empty_url_loader_client_unittest.cc

// Copyright 2021 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/empty_url_loader_client.h"

#include <memory>

#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "mojo/public/cpp/system/data_pipe_utils.h"
#include "services/network/public/mojom/url_response_head.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace network {

namespace {

void CheckBodyIsDrained(const std::string& body) {}

}  // namespace

TEST(EmptyURLLoaderClientTest, WithoutBody) {}

TEST(EmptyURLLoaderClientTest, DrainBody) {}

TEST(EmptyURLLoaderClientTest, DrainEmptyBody) {}

}  // namespace network