#include "media/filters/memory_data_source.h"
#include <memory>
#include "base/containers/span.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/numerics/safe_conversions.h"
#include "base/rand_util.h"
#include "base/ranges/algorithm.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
class MemoryDataSourceTest : public ::testing::Test { … };
TEST_F(MemoryDataSourceTest, EmptySource) { … }
TEST_F(MemoryDataSourceTest, ReadData) { … }
TEST_F(MemoryDataSourceTest, ReadData_InvalidPosition) { … }
TEST_F(MemoryDataSourceTest, ReadData_InvalidSize) { … }
TEST_F(MemoryDataSourceTest, ReadData_PartialRead) { … }
TEST_F(MemoryDataSourceTest, Stop) { … }
TEST_F(MemoryDataSourceTest, GetSize) { … }
}