#include <stddef.h>
#include <stdint.h>
#include <memory>
#include <tuple>
#include "base/bits.h"
#include "base/test/simple_test_tick_clock.h"
#include "media/base/video_frame_pool.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace media {
class VideoFramePoolTest
: public ::testing::TestWithParam<std::tuple<VideoPixelFormat, gfx::Size>> { … };
TEST_P(VideoFramePoolTest, FrameInitializedAndZeroed) { … }
TEST_P(VideoFramePoolTest, FrameReuse) { … }
INSTANTIATE_TEST_SUITE_P(…);
TEST_F(VideoFramePoolTest, SimpleFormatChange) { … }
TEST_F(VideoFramePoolTest, FrameValidAfterPoolDestruction) { … }
TEST_F(VideoFramePoolTest, StaleFramesAreExpired) { … }
}