chromium/media/base/decoder_buffer_queue_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.

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

// Helper to create buffers with specified timestamp in seconds.
//
// Negative numbers will be converted to kNoTimestamp;
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) {}

}  // namespace media