Flutter Engine
The Flutter Engine
Namespaces | Typedefs | Functions
input_events_unittests.cc File Reference
#include "flutter/shell/common/shell_test.h"
#include "flutter/testing/testing.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

Typedefs

using flutter::testing::UnitlessTime = int
 
using flutter::testing::Generator = std::function< UnitlessTime(int)>
 

Functions

static void flutter::testing::TestSimulatedInputEvents (ShellTest *fixture, int num_events, UnitlessTime base_latency, Generator delivery_time, UnitlessTime frame_time, std::vector< UnitlessTime > &events_consumed_at_frame, bool restart_engine=false)
 
void flutter::testing::CreateSimulatedPointerData (PointerData &data, PointerData::Change change, double dx, double dy)
 
 flutter::testing::TEST_F (ShellTest, MissAtMostOneFrameForIrregularInputEvents)
 
 flutter::testing::TEST_F (ShellTest, DelayAtMostOneEventForFasterThanVSyncInputEvents)
 
 flutter::testing::TEST_F (ShellTest, HandlesActualIphoneXsInputEvents)
 
 flutter::testing::TEST_F (ShellTest, CanCorrectlyPipePointerPacket)
 
 flutter::testing::TEST_F (ShellTest, CanCorrectlySynthesizePointerPacket)