GestureDetector newOne = new GestureDetector(ret);
Assert.IsNotNull(newOne, "should be not null");
Assert.IsInstanceOf<GestureDetector>(newOne, "should be an instance of testing target class!");
-
GestureDetector newTwo = new GestureDetector(GestureDetector.getCPtr(ret).Handle, true);
Assert.IsNotNull(newTwo, "should be not null");
public void GestureDetectorAttach()
{
tlog.Debug(tag, $"GestureDetectorAttach START");
-
- GestureDetector ret = new GestureDetector();
+
+ LongPressGestureDetector ret = new LongPressGestureDetector();
Assert.IsNotNull(ret, "should be not null");
Assert.IsInstanceOf<GestureDetector>(ret, "should be an instance of testing target class!");
public void GestureDetectorDetach()
{
tlog.Debug(tag, $"GestureDetectorDetach START");
- GestureDetector ret = new GestureDetector();
+ LongPressGestureDetector ret = new LongPressGestureDetector();
+
Assert.IsNotNull(ret, "should be not null");
Assert.IsInstanceOf<GestureDetector>(ret, "should be an instance of testing target class!");
View view = new View();
- ret.Attach(view);
+ ret.Attach(view);
ret.Detach(view);
ret.Dispose();
public void GestureDetectorDetachAll()
{
tlog.Debug(tag, $"GestureDetectorDetachAll START");
- GestureDetector ret = new GestureDetector();
+ LongPressGestureDetector ret = new LongPressGestureDetector();
Assert.IsNotNull(ret, "should be not null");
Assert.IsInstanceOf<GestureDetector>(ret, "should be an instance of testing target class!");
public void GestureDetectorGetAttachedViewCount()
{
tlog.Debug(tag, $"GestureDetectorGetAttachedViewCount START");
- GestureDetector ret = new GestureDetector();
+ LongPressGestureDetector ret = new LongPressGestureDetector();
Assert.IsNotNull(ret, "should be not null");
Assert.IsInstanceOf<GestureDetector>(ret, "should be an instance of testing target class!");
public void GestureDetectorGetAttachedView()
{
tlog.Debug(tag, $"GestureDetectorGetAttachedView START");
- GestureDetector ret = new GestureDetector();
+ LongPressGestureDetector ret = new LongPressGestureDetector();
Assert.IsNotNull(ret, "should be not null");
Assert.IsInstanceOf<GestureDetector>(ret, "should be an instance of testing target class!");
GestureDetector newOne = new GestureDetector();
newOne = ret;
-
ret.Dispose();
newOne.Dispose();
-
-
tlog.Debug(tag, $"GestureDetectorAssign END (OK)");
Assert.Pass("GestureDetectorAssign");
}
using System;
using Tizen.NUI;
using Tizen.NUI.BaseComponents;
+using Tizen.NUI.Events;
namespace Tizen.NUI.Devel.Tests
{
{
tlog.Debug(tag, $"GestureDetectorManagerConstructor START");
View view = new View();
+
+ GestureDetectorManager a1 = new GestureDetectorManager(view, new GestureDetectorManager.GestureListener());
+ a1.Dispose();
+
+ GestureDetectorManager b1 = new GestureDetectorManager(null, new GestureDetectorManager.GestureListener());
+ GestureDetectorManager c1 = new GestureDetectorManager(view, null);
view.Dispose();
tlog.Debug(tag, $"GestureDetectorManagerConstructor END (OK)");
public void GestrueFeedTouchEvent()
{
tlog.Debug(tag, $"GestrueFeedTouchEvent START");
+ object sender = new object();
+ View view = new View();
+ View.TouchEventArgs e = new View.TouchEventArgs();
+ GestureDetectorManager a1 = new GestureDetectorManager(view, new GestureDetectorManager.GestureListener());
+
+ a1.FeedTouchEvent(sender, e);
+
+ a1.Dispose();
tlog.Debug(tag, $"GestrueFeedTouchEvent END (OK)");
Assert.Pass("GestrueFeedTouchEvent");
}