#include "media/mojo/common/mojo_data_pipe_read_write.h"
#include <stdint.h>
#include <memory>
#include "base/run_loop.h"
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "media/base/decoder_buffer.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
namespace {
uint32_t kDefaultDataPipeCapacityBytes = …;
class MojoDataPipeReadWrite { … };
}
TEST(MojoDataPipeReadWriteTest, Normal) { … }
TEST(MojoDataPipeReadWriteTest, SequentialReading) { … }
TEST(MojoDataPipeReadWriteTest, LongerThanCapacity) { … }
TEST(MojoDataPipeReadWriteTest, DiscardDataInPipe) { … }
}