#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "net/server/http_connection.h"
#include <string>
#include <string_view>
#include "base/memory/ref_counted.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace {
std::string GetTestString(int size) { … }
TEST(HttpConnectionTest, ReadIOBuffer_SetCapacity) { … }
TEST(HttpConnectionTest, ReadIOBuffer_SetCapacity_WithData) { … }
TEST(HttpConnectionTest, ReadIOBuffer_IncreaseCapacity) { … }
TEST(HttpConnectionTest, ReadIOBuffer_IncreaseCapacity_WithData) { … }
TEST(HttpConnectionTest, ReadIOBuffer_DidRead_DidConsume) { … }
TEST(HttpConnectionTest, QueuedWriteIOBuffer_Append_DidConsume) { … }
TEST(HttpConnectionTest, QueuedWriteIOBuffer_TotalSizeLimit) { … }
TEST(HttpConnectionTest, QueuedWriteIOBuffer_DataPointerStability) { … }
}
}