#ifndef COMPONENTS_VIZ_TEST_BEGIN_FRAME_SOURCE_TEST_H_
#define COMPONENTS_VIZ_TEST_BEGIN_FRAME_SOURCE_TEST_H_
#include "base/trace_event/traced_value.h"
#include "components/viz/common/frame_sinks/begin_frame_source.h"
#include "components/viz/test/begin_frame_args_test.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#define EXPECT_BEGIN_FRAME_DROP(obs, source_id, sequence_number, frame_time, \
deadline, interval) …
#define EXPECT_BEGIN_FRAME_USED(obs, source_id, sequence_number, frame_time, \
deadline, interval) …
#define EXPECT_BEGIN_FRAME_USED_MISSED(obs, source_id, sequence_number, \
frame_time, deadline, interval) …
#define EXPECT_BEGIN_FRAME_ARGS_DROP(obs, args) …
#define EXPECT_BEGIN_FRAME_ARGS_USED(obs, args) …
#define EXPECT_BEGIN_FRAME_SOURCE_PAUSED(obs, paused) …
#define SEND_BEGIN_FRAME(args_equal_to, source, sequence_number, frame_time, \
deadline, interval) …
#define SEND_BEGIN_FRAME_DROP(source, sequence_number, frame_time, deadline, \
interval) …
#define SEND_BEGIN_FRAME_USED(source, sequence_number, frame_time, deadline, \
interval) …
namespace viz {
class MockBeginFrameObserver : public BeginFrameObserver { … };
}
#endif