#include "third_party/blink/renderer/modules/breakout_box/frame_queue.h"
#include "base/synchronization/lock.h"
#include "base/synchronization/waitable_event.h"
#include "base/task/single_thread_task_runner.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/scheduler/public/post_cross_thread_task.h"
#include "third_party/blink/renderer/platform/testing/io_task_runner_testing_platform_support.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/wtf/cross_thread_functional.h"
namespace blink {
class FrameQueueTest : public testing::Test { … };
TEST_F(FrameQueueTest, PushPopMatches) { … }
TEST_F(FrameQueueTest, PushReturnsReplacedElement) { … }
TEST_F(FrameQueueTest, EmptyQueueReturnsNullopt) { … }
TEST_F(FrameQueueTest, QueueDropsOldElements) { … }
TEST_F(FrameQueueTest, FrameQueueHandle) { … }
TEST_F(FrameQueueTest, PushValuesInOrderOnSeparateThread) { … }
TEST_F(FrameQueueTest, LockedOperations) { … }
}