X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftest-gesture-generator.h;h=18051cf8bf6254a212b149275a23a54be36cc902;hp=80611a065ac606e49cb5beee085b92e5f66dcc56;hb=2c6a6697e24d39ef061f134b39f30acc5c47b0cb;hpb=c35f47a46398a7d71180285e6e52a64243af0a6d diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-gesture-generator.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-gesture-generator.h index 80611a0..18051cf 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-gesture-generator.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-gesture-generator.h @@ -103,6 +103,26 @@ void TestGenerateTap( TestApplication& application, float x = 20.0f, float y = 2 */ void TestGenerateTwoPointTap( TestApplication& application, float x1, float y1, float x2, float y2, uint32_t time_down ); +/** + * Produces a rotation gesture. + */ +void TestGenerateRotation( TestApplication& application ); + +/** + * Produces the gesture started event of a rotation, using 4 touches, 50ms apart, starting with 1, ending at 2 + */ +void TestStartRotation( TestApplication& application, Vector2 a1, Vector2 b1, Vector2 a2, Vector2 b2, uint32_t time ); + +/** + * Produces a gesture continuing event of a rotation, using 4 touches, 50ms apart, starting with 1, ending at 2 + */ +void TestContinueRotation( TestApplication& application, Vector2 a1, Vector2 b1, Vector2 a2, Vector2 b2, uint32_t time ); + +/** + * Produces a gesture finished event of a rotation, using 2 touches, 50ms apart + */ +void TestEndRotation( TestApplication& application, Vector2 a1, Vector2 b1, Vector2 a2, Vector2 b2, uint32_t time ); + } // namespace Dali #endif // DALI_TEST_GESTURE_GENERATOR_H