示例#1
0
        public void GestureDetectorDetachAll()
        {
            tlog.Debug(tag, $"GestureDetectorDetachAll START");
            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.DetachAll();
            ret.Dispose();

            tlog.Debug(tag, $"GestureDetectorDetachAll END (OK)");
            Assert.Pass("GestureDetectorDetachAll");
        }