#include "media/base/decoder_buffer.h"
#include "media/base/decoder_buffer_queue.h"
#include "media/base/timestamp_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
static base::TimeDelta ToTimeDelta(int seconds) { … }
static scoped_refptr<DecoderBuffer> CreateBuffer(int timestamp) { … }
static scoped_refptr<DecoderBuffer> CreateBuffer(int timestamp, int size) { … }
static size_t GetExpectedMemoryUsage(int number_of_buffers, int data_size) { … }
TEST(DecoderBufferQueueTest, IsEmpty) { … }
TEST(DecoderBufferQueueTest, Clear) { … }
TEST(DecoderBufferQueueTest, Duration) { … }
TEST(DecoderBufferQueueTest, Duration_OutOfOrder) { … }
TEST(DecoderBufferQueueTest, Duration_NoTimestamp) { … }
TEST(DecoderBufferQueueTest, MemoryUsage) { … }
}