Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
pointer_data_packet_converter_unittests.cc File Reference
#include "flutter/lib/ui/window/pointer_data_packet_converter.h"
#include <cstring>
#include <unordered_set>
#include "gtest/gtest.h"

Go to the source code of this file.

Classes

class  flutter::testing::TestDelegate
 

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

Functions

void flutter::testing::CreateSimulatedPointerData (PointerData &data, PointerData::Change change, int64_t device, double dx, double dy, int64_t buttons)
 
void flutter::testing::CreateSimulatedMousePointerData (PointerData &data, PointerData::Change change, PointerData::SignalKind signal_kind, int64_t device, double dx, double dy, double scroll_delta_x, double scroll_delta_y, int64_t buttons)
 
void flutter::testing::CreateSimulatedTrackpadGestureData (PointerData &data, PointerData::Change change, int64_t device, double dx, double dy, double pan_x, double pan_y, double scale, double rotation)
 
void flutter::testing::UnpackPointerPacket (std::vector< PointerData > &output, std::unique_ptr< PointerDataPacket > packet)
 
 flutter::testing::TEST (PointerDataPacketConverterTest, CanConvertPointerDataPacket)
 
 flutter::testing::TEST (PointerDataPacketConverterTest, CanSynthesizeDownAndUp)
 
 flutter::testing::TEST (PointerDataPacketConverterTest, CanUpdatePointerIdentifier)
 
 flutter::testing::TEST (PointerDataPacketConverterTest, AlwaysForwardMoveEvent)
 
 flutter::testing::TEST (PointerDataPacketConverterTest, CanWorkWithDifferentDevices)
 
 flutter::testing::TEST (PointerDataPacketConverterTest, CanSynthesizeAdd)
 
 flutter::testing::TEST (PointerDataPacketConverterTest, CanHandleThreeFingerGesture)
 
 flutter::testing::TEST (PointerDataPacketConverterTest, CanConvertPointerSignals)
 
 flutter::testing::TEST (PointerDataPacketConverterTest, CanConvertTrackpadGesture)
 
 flutter::testing::TEST (PointerDataPacketConverterTest, CanConvertViewId)