chromium/media/base/decoder_buffer_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "media/base/decoder_buffer.h"

#include <stdint.h>
#include <string.h>

#include <memory>

#include "base/containers/heap_array.h"
#include "base/memory/read_only_shared_memory_region.h"
#include "base/memory/unsafe_shared_memory_region.h"
#include "base/strings/string_util.h"
#include "build/build_config.h"
#include "media/base/test_data_util.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media {

TEST(DecoderBufferTest, Constructors) {}

TEST(DecoderBufferTest, CreateEOSBuffer) {}

TEST(DecoderBufferTest, CopyFrom) {}

TEST(DecoderBufferTest, FromArray) {}

TEST(DecoderBufferTest, FromPlatformSharedMemoryRegion) {}

TEST(DecoderBufferTest, FromPlatformSharedMemoryRegion_Unaligned) {}

TEST(DecoderBufferTest, FromPlatformSharedMemoryRegion_ZeroSize) {}

TEST(DecoderBufferTest, FromSharedMemoryRegion) {}

TEST(DecoderBufferTest, FromSharedMemoryRegion_Unaligned) {}

TEST(DecoderBufferTest, FromSharedMemoryRegion_ZeroSize) {}

TEST(DecoderBufferTest, FromExternalMemory) {}

TEST(DecoderBufferTest, ReadingWriting) {}

TEST(DecoderBufferTest, DecryptConfig) {}

TEST(DecoderBufferTest, IsKeyFrame) {}

TEST(DecoderBufferTest, SideData) {}

TEST(DecoderBufferTest, IsEncrypted) {}

}  // namespace media