示例#1
0
        public void GestureDetectorGetAttachedViewCount()
        {
            tlog.Debug(tag, $"GestureDetectorGetAttachedViewCount 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.GetAttachedViewCount();

            ret.Detach(view);
            ret.Dispose();

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