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

// Copyright 2018 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/data_pipe_to_source_stream.h"

#include <string_view>

#include "base/containers/span.h"
#include "base/strings/cstring_view.h"
#include "base/test/task_environment.h"
#include "net/base/io_buffer.h"
#include "net/base/test_completion_callback.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace network {

namespace {

const int kBigBufferSize =;
const int kSmallBufferSize =;
const int kBigPipeCapacity =;
const int kSmallPipeCapacity =;

enum class WriteMode {};

struct DataPipeToSourceStreamTestParam {};

}  // namespace

class DataPipeToSourceStreamTest
    : public ::testing::TestWithParam<DataPipeToSourceStreamTestParam> {};

INSTANTIATE_TEST_SUITE_P();

TEST_P(DataPipeToSourceStreamTest, EmptyStream) {}

TEST_P(DataPipeToSourceStreamTest, Simple) {}

TEST_P(DataPipeToSourceStreamTest, DestructorClosesConsumerEnd) {}

}  // namespace network