// Copyright 2014 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 <stdint.h> #include "media/ffmpeg/ffmpeg_common.h" #include "media/filters/in_memory_url_protocol.h" #include "testing/gtest/include/gtest/gtest.h" namespace media { static const uint8_t kData[] = …; TEST(InMemoryUrlProtocolTest, ReadFromLargeBuffer) { … } TEST(InMemoryUrlProtocolTest, ReadWithNegativeSize) { … } TEST(InMemoryUrlProtocolTest, ReadWithZeroSize) { … } TEST(InMemoryUrlProtocolTest, SetPosition) { … } } // namespace media