#include "ui/events/gesture_detection/gesture_event_data_packet.h"
#include <stddef.h>
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/test/motion_event_test_utils.h"
MockMotionEvent;
namespace ui {
namespace {
const float kTouchX = …;
const float kTouchY = …;
const uint32_t uniqueTouchEventId = …;
GestureEventData CreateGesture(EventType type) { … }
}
bool GestureEqualsExceptForTouchId(const GestureEventData& lhs,
const GestureEventData& rhs) { … }
bool PacketEquals(const GestureEventDataPacket& lhs,
const GestureEventDataPacket& rhs) { … }
class GestureEventDataPacketTest : public testing::Test { … };
TEST_F(GestureEventDataPacketTest, Basic) { … }
TEST_F(GestureEventDataPacketTest, Copy) { … }
TEST_F(GestureEventDataPacketTest, GestureSource) { … }
TEST_F(GestureEventDataPacketTest, AddEventLatencyMetadataToGestures) { … }
}