#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#include <stddef.h>
#include <stdint.h>
#include <limits>
#include <memory>
#include <set>
#include "base/run_loop.h"
#include "ipc/ipc_channel_reader.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace IPC {
namespace internal {
namespace {
class MockChannelReader : public ChannelReader { … };
class ExposedMessage: public Message { … };
const size_t LargePayloadSize = …;
}
TEST(ChannelReaderTest, ResizeOverflowBuffer) { … }
TEST(ChannelReaderTest, InvalidMessageSize) { … }
TEST(ChannelReaderTest, TrimBuffer) { … }
}
}