#include "third_party/blink/renderer/modules/peerconnection/byte_buffer_queue.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
namespace blink {
ElementsAre;
TEST(ByteBufferQueueTest, DefaultConstructor) { … }
TEST(ByteBufferQueueTest, AppendEmpty) { … }
TEST(ByteBufferQueueTest, AppendOneSegment) { … }
TEST(ByteBufferQueueTest, AppendTwoSegments) { … }
TEST(ByteBufferQueueTest, ReadIntoEmpty) { … }
TEST(ByteBufferQueueTest, ReadIntoLessThanOneSegment) { … }
TEST(ByteBufferQueueTest, ReadIntoExactOneSegmentSize) { … }
TEST(ByteBufferQueueTest, ReadIntoOverOneSegmentSize) { … }
TEST(ByteBufferQueueTest, ReadIntoEmptyData) { … }
TEST(ByteBufferQueueTest, ReadIntoExactlyTwoSegments) { … }
TEST(ByteBufferQueueTest, ReadIntoAcrossTwoSegmentsMisaligned) { … }
TEST(ByteBufferQueueTest, ClearEmptyBuffer) { … }
TEST(ByteBufferQueueTest, ReadIntoAfterClearThenAppend) { … }
}