chromium/media/filters/memory_data_source_unittest.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

// All ReadData() will fail after Stop().
TEST_F(MemoryDataSourceTest, Stop) {}

// ReadData() doesn't affect GetSize().
TEST_F(MemoryDataSourceTest, GetSize) {}

}  // namespace media