예제 #1
0
        public void LinearLayoutManagerCanScrollHorizontally()
        {
            tlog.Debug(tag, $"LinearLayoutManagerCanScrollHorizontally START");

            var testingTarget = new LinearLayoutManager(LinearLayoutManager.HORIZONTAL);

            Assert.IsNotNull(testingTarget, "should be not null");
            Assert.IsInstanceOf <LinearLayoutManager>(testingTarget, "should be an instance of testing target class!");
            Assert.IsTrue(testingTarget.CanScrollHorizontally(), "should be true.");

            testingTarget.Dispose();
            tlog.Debug(tag, $"LinearLayoutManagerCanScrollHorizontally END (OK)");
        }
        public void FlexibleViewLayoutManagerCanScrollHorizontally()
        {
            tlog.Debug(tag, $"FlexibleViewLayoutManagerCanScrollHorizontally START");

            var testingTarget = new FlexibleViewLayoutManagerImpl();

            Assert.IsNotNull(testingTarget, "should be not null");
            Assert.IsInstanceOf <FlexibleViewLayoutManager>(testingTarget, "should be an instance of testing target class!");

            var result = horizontalLayoutManager.CanScrollHorizontally();

            tlog.Debug(tag, "CanScrollHorizontally : " + result);

            testingTarget.Dispose();
            tlog.Debug(tag, $"FlexibleViewLayoutManagerCanScrollHorizontally END (OK)");
        }